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:
parent
58ac1c2291
commit
a07d1fc14c
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue