docker-nginx-auto/app/default/snippets/reverse-proxy.conf

8 lines
304 B
Plaintext
Raw Normal View History

2021-08-20 11:28:41 -04:00
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Forwarded-Proto $scheme;
#proxy_set_header X-Forwarded-Scheme $scheme;
proxy_set_header X-Scheme $scheme;