From 8100f6f7704a441c7ae15db73f730611b19befeb Mon Sep 17 00:00:00 2001 From: Tommy Date: Mon, 21 Oct 2024 05:13:09 -0700 Subject: [PATCH] Change proxy_set_header Host back to $host Signed-off-by: Tommy --- etc/nginx/snippets/proxy.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/nginx/snippets/proxy.conf b/etc/nginx/snippets/proxy.conf index b5b5612..1dc108b 100644 --- a/etc/nginx/snippets/proxy.conf +++ b/etc/nginx/snippets/proxy.conf @@ -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; \ No newline at end of file +proxy_hide_header X-Powered-By;