diff --git a/grafana/nginx.conf b/grafana/nginx.conf index 73f2279..8135c83 100644 --- a/grafana/nginx.conf +++ b/grafana/nginx.conf @@ -23,6 +23,16 @@ 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; diff --git a/hedgedoc/nginx.conf b/hedgedoc/nginx.conf index fe92826..bdd0446 100644 --- a/hedgedoc/nginx.conf +++ b/hedgedoc/nginx.conf @@ -47,6 +47,7 @@ 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; diff --git a/matrix/nginx.conf b/matrix/nginx.conf index 24c1bb3..0cacf27 100644 --- a/matrix/nginx.conf +++ b/matrix/nginx.conf @@ -43,6 +43,9 @@ 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