remove proxy_set_header X-Forwarded-Proto $scheme for https

This commit is contained in:
Henry Oswald 2017-01-06 16:02:27 +00:00
parent 1bfec242b2
commit 8c08df2717

View file

@ -10,7 +10,6 @@ server {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_read_timeout 3m;
proxy_send_timeout 3m;