Update proxy_host.conf by replace $host:$server with $http_host
This commit is contained in:
parent
f00fe275ca
commit
fb1e4bd46c
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ 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 $host:$server_port;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_http_version 1.1;
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue