From 04278b6cbfb5a935193faac2a23e33df5a2a021d Mon Sep 17 00:00:00 2001 From: kaiyou Date: Tue, 6 Feb 2018 18:56:41 +0100 Subject: [PATCH] Pass the full host to the backend, fixes #372 --- core/nginx/conf/proxy.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/nginx/conf/proxy.conf b/core/nginx/conf/proxy.conf index f7112c7b..3e3710b9 100644 --- a/core/nginx/conf/proxy.conf +++ b/core/nginx/conf/proxy.conf @@ -1,5 +1,5 @@ # Default proxy setup -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 $proxy_x_forwarded_proto;