nginx-proxy-manager/rootfs/etc/nginx/conf.d/include/proxy.conf

7 lines
244 B
Plaintext
Raw Normal View History

2017-12-20 18:02:37 -05:00
add_header X-Served-By $host;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $remote_addr;
2017-12-20 18:02:37 -05:00
proxy_pass http://$server:$port;