Skip to content

Commit fb1e4bd

Browse files
authored
Update proxy_host.conf by replace $host:$server with $http_host
1 parent f00fe27 commit fb1e4bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/templates/proxy_host.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ proxy_http_version 1.1;
5656
{% if allow_websocket_upgrade == 1 or allow_websocket_upgrade == true %}
5757
proxy_set_header Upgrade $http_upgrade;
5858
proxy_set_header Connection $http_connection;
59-
proxy_set_header Host $host:$server_port;
59+
proxy_set_header Host $http_host;
6060
proxy_http_version 1.1;
6161
{% endif %}
6262

0 commit comments

Comments
 (0)