nginx-proxy-manager/rootfs/etc/nginx/conf.d/include/proxy.conf
2018-10-25 08:51:43 +10:00

7 lines
244 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-Proto $scheme;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass http://$server:$port;