Use http_host

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy
2024-10-12 23:54:54 -07:00
committed by GitHub
parent 3833fd16eb
commit 7036022071

View File

@@ -23,5 +23,5 @@ proxy_set_header Connection "upgrade";
# Enable X-Forwarded headers
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;