nginx-proxy-manager/rootfs/etc/nginx/conf.d/include/proxy.conf
2017-12-21 09:02:37 +10:00

7 lines
243 B
Plaintext

add_header X-Served-By $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_set_header X-Forwarded-Protocol $scheme;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://$server:$port;