Use http_host for Host

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-10-13 01:26:11 -07:00 committed by GitHub
parent 673f533643
commit 3bbe3ea3a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,7 @@ proxy_set_header X-Original-URL $scheme://$http_host$request_uri;
proxy_set_header X-Original-URI $request_uri;
# Forward host header
proxy_set_header Host $host;
proxy_set_header Host $http_host;
# Upgrade connection
proxy_set_header Upgrade $http_upgrade;