From 6ffaeaa97a301c7e966457ec103080ade2837377 Mon Sep 17 00:00:00 2001 From: Lahire Biette Date: Thu, 3 Nov 2016 12:31:21 +0100 Subject: [PATCH] upgrade nginx conf to remove "Host check error" --- conf/nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 49486de..7771902 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,5 +1,6 @@ location PATHTOCHANGE/ { - proxy_set_header Host $host; + #proxy_set_header Host $host; + proxy_set_header Host localhost; 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 $scheme;