From 8685feb4b7fe1d373c1f9f47c57c4405ce64d3af Mon Sep 17 00:00:00 2001 From: Nick Schmalenberger Date: Sat, 28 Apr 2018 01:22:42 +0000 Subject: [PATCH] Pass the actual Host header as X-Forwarded-Host in nginx config --- docs/installation/web-server.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installation/web-server.md b/docs/installation/web-server.md index 39235200b..0163ffaaa 100644 --- a/docs/installation/web-server.md +++ b/docs/installation/web-server.md @@ -29,7 +29,7 @@ server { location / { proxy_pass http://127.0.0.1:8001; - proxy_set_header X-Forwarded-Host $server_name; + proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-Proto $scheme; add_header P3P 'CP="ALL DSP COR PSAa PSDa OUR NOR ONL UNI COM NAV"';