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

7 lines
255 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 $forward_scheme://$server:$port;