proxy_set_header Host is not useful in proxy_host.conf,it should be modify in conf.d/include/proxy.conf

This commit is contained in:
xialj 2023-08-11 11:12:06 +08:00
parent 145fe2d24f
commit 1a983651a5

View File

@ -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 %}