1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/redirect_ynh.git synced 2024-09-03 20:16:10 +02:00

Add X-Forwarded-Port header

I needed it to use mysteryshack. I don't know if that can break things though.
This commit is contained in:
Nicolas Frandeboeuf 2017-06-15 16:38:09 +02:00 committed by GitHub
parent 58ac1c2291
commit a07d1fc14c

View file

@ -6,6 +6,7 @@ location YNH_LOCATION {
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Forwarded-Port $server_port;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;