From 8547948ce6e6f5b5e60f4bafc4b3d9b013a10239 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Wed, 19 Aug 2020 21:43:37 +0200 Subject: [PATCH] bundles/nginx: also set host header for proxy connections --- bundles/nginx/files/site_template | 1 + 1 file changed, 1 insertion(+) diff --git a/bundles/nginx/files/site_template b/bundles/nginx/files/site_template index 8a316e1..465b1ee 100644 --- a/bundles/nginx/files/site_template +++ b/bundles/nginx/files/site_template @@ -34,6 +34,7 @@ server { % for location, proxy_pass in proxy.items(): location ${location} { proxy_pass ${proxy_pass}; + proxy_set_header Host ${domain}; proxy_set_header X-Script-Name /; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto HTTPS;