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:
parent
145fe2d24f
commit
1a983651a5
1 changed files with 0 additions and 1 deletions
|
@ -36,7 +36,6 @@ proxy_http_version 1.1;
|
||||||
{% if allow_websocket_upgrade == 1 or allow_websocket_upgrade == true %}
|
{% if allow_websocket_upgrade == 1 or allow_websocket_upgrade == true %}
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection $http_connection;
|
proxy_set_header Connection $http_connection;
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue