# https://learn.netdata.cloud/docs/agent/running-behind-nginx#ways-to-access-netdata-via-nginx # Content suggested by Netdata documentation, excluding declarations that will # be automatically populated by jwilder/nginx-proxy. # To be placed in the vhost.d folder of Nginx, remember to put your domain as # the filename with _location at the end. proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass_request_headers on; proxy_set_header Connection "keep-alive"; proxy_store off; gzip on; gzip_proxied any; gzip_types *;