Initial commit for the project
This commit is contained in:
16
rp/vhost.d/netdata.domain.tld_location
Normal file
16
rp/vhost.d/netdata.domain.tld_location
Normal file
@@ -0,0 +1,16 @@
|
||||
# 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 *;
|
||||
Reference in New Issue
Block a user