From a981ded8070a8df36a884f444fa92eba414861f3 Mon Sep 17 00:00:00 2001 From: hoellen Date: Fri, 7 Feb 2020 17:48:45 +0100 Subject: [PATCH] Change proxy header from $host to $http_host --- boring-nginx/rootfs/etc/nginx/conf/proxy_params | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boring-nginx/rootfs/etc/nginx/conf/proxy_params b/boring-nginx/rootfs/etc/nginx/conf/proxy_params index bbc4e4b..8d7e03d 100644 --- a/boring-nginx/rootfs/etc/nginx/conf/proxy_params +++ b/boring-nginx/rootfs/etc/nginx/conf/proxy_params @@ -1,4 +1,4 @@ -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-Remote-Port $remote_port;