switch nginx proxy header Host

This commit is contained in:
frennkie 2020-07-14 20:09:49 +01:00
parent ead5bbb7a5
commit 028977b5e3

View File

@ -1,7 +1,7 @@
# ssl-proxy-params.conf
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header Host $http_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-Proto https;