Merge pull request #1339 from frennkie/switch-proxy-header

switch nginx proxy header Host
This commit is contained in:
Christian Rotzoll 2020-07-15 02:37:51 +02:00 committed by GitHub
commit eb36eb593a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;