From a07d1fc14c21f761c7329106c536417d9a25de03 Mon Sep 17 00:00:00 2001 From: Nicolas Frandeboeuf Date: Thu, 15 Jun 2017 16:38:09 +0200 Subject: [PATCH] Add X-Forwarded-Port header I needed it to use mysteryshack. I don't know if that can break things though. --- conf/nginx-proxy.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/nginx-proxy.conf b/conf/nginx-proxy.conf index 8b57859..6d3a1ee 100644 --- a/conf/nginx-proxy.conf +++ b/conf/nginx-proxy.conf @@ -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;