nginx-proxy-manager-zh/docker/rootfs/etc/nginx/conf.d/include/proxy.conf
Jamie Curnow c78f641e85 Revert #1614
as it breaks some existing services
2022-01-11 08:54:40 +10:00

9 lines
318 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_set_header X-Real-IP $remote_addr;
proxy_pass $forward_scheme://$server:$port$request_uri;