From 7036022071bd10dda00c2df24ba37bc6abc63ebb Mon Sep 17 00:00:00 2001 From: Tommy Date: Sat, 12 Oct 2024 23:54:54 -0700 Subject: [PATCH] Use http_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 40e8006..fd9a270 100644 --- a/etc/nginx/snippets/proxy.conf +++ b/etc/nginx/snippets/proxy.conf @@ -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; \ No newline at end of file +proxy_set_header X-Forwarded-Host $http_host; +proxy_set_header X-Forwarded-Proto $scheme;