From 1a983651a5e8daece64224a9edcb1e03b398443b Mon Sep 17 00:00:00 2001 From: xialj Date: Fri, 11 Aug 2023 11:12:06 +0800 Subject: [PATCH] proxy_set_header Host is not useful in proxy_host.conf,it should be modify in conf.d/include/proxy.conf --- backend/templates/proxy_host.conf | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/templates/proxy_host.conf b/backend/templates/proxy_host.conf index b5a10ed2..81a542ea 100644 --- a/backend/templates/proxy_host.conf +++ b/backend/templates/proxy_host.conf @@ -36,7 +36,6 @@ proxy_http_version 1.1; {% if allow_websocket_upgrade == 1 or allow_websocket_upgrade == true %} proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $http_connection; - proxy_set_header Host $http_host; proxy_http_version 1.1; {% endif %}