Compare commits

..

No commits in common. '62fae7e763feb40a8141367dba28e2b471473461' and 'b72d0bede977eac67f9f8ee55f5b02751932e0f2' have entirely different histories.

  1. 10
      grafana/nginx.conf
  2. 1
      hedgedoc/nginx.conf
  3. 3
      matrix/nginx.conf
  4. 3
      nginx/Dockerfile

@ -23,16 +23,6 @@ server {
# required to avoid HTTP 411: see Issue #1486 (https://github.com/dotcloud/docker/issues/1486)
chunked_transfer_encoding on;
location = /api/live/ws {
access_log off;
proxy_pass http://grafana:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location / {
proxy_pass http://grafana:3000;
proxy_set_header Host $host;

@ -47,7 +47,6 @@ server {
# websocket traffic with extra headers for upgrading the connection
location /socket.io/ {
access_log off;
proxy_pass http://hedgedoc:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;

@ -43,9 +43,6 @@ server {
# Nginx by default only allows file uploads up to 1M in size
# Increase client_max_body_size to match max_upload_size defined in homeserver.yaml
client_max_body_size 50M;
# since this is hitting a few hz sometimes, turn it off
access_log off;
}
# serve the static content for the well known files

@ -18,8 +18,7 @@ RUN echo "configuring" \
# forward request and error logs to docker log collector
&& ln -sf /dev/stdout /var/log/nginx/access.log \
&& ln -sf /dev/stderr /var/log/nginx/error.log \
&& sed -i -e 's/nginx:x:[0-9]*:[0-9]*/nginx:x:33:33/' '/etc/passwd' \
&& grep nginx /etc/passwd \
&& sed -i -e 's/nginx:x:101:102/nginx:x:33:33/' '/etc/passwd' \
&& chown -R 33:33 /var/lib/nginx \
&& echo "Done"

Loading…
Cancel
Save