Change proxy_set_header Host back to $host

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy
2024-10-21 05:13:09 -07:00
committed by GitHub
parent 939977d099
commit 8100f6f770

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 $http_host;
proxy_set_header Host $host;
# Upgrade connection
proxy_set_header Upgrade $http_upgrade;
@@ -30,4 +30,4 @@ proxy_set_header X-Forwarded-Ssl on;
proxy_set_header X-Forwarded-Port $server_port;
# Hide X-Powered-By
proxy_hide_header X-Powered-By;
proxy_hide_header X-Powered-By;