From 4d9c0c97a430ad43ee2a3723922d9153c7f39d13 Mon Sep 17 00:00:00 2001 From: thor0215 <50240409+thor0215@users.noreply.github.com> Date: Tue, 4 Apr 2023 12:11:50 -0500 Subject: [PATCH] Potential fix for https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2804 --- docker/rootfs/etc/nginx/conf.d/include/proxy.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/rootfs/etc/nginx/conf.d/include/proxy.conf b/docker/rootfs/etc/nginx/conf.d/include/proxy.conf index d346c4ef..5c04fe31 100644 --- a/docker/rootfs/etc/nginx/conf.d/include/proxy.conf +++ b/docker/rootfs/etc/nginx/conf.d/include/proxy.conf @@ -3,6 +3,7 @@ proxy_set_header Host $host; proxy_set_header X-Forwarded-Scheme $scheme; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; +proxy_set_header X-Forwarded-Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_pass $forward_scheme://$server:$port$request_uri;