diff --git a/backend/templates/proxy_host.conf b/backend/templates/proxy_host.conf index 8d8c97da..6448dca5 100644 --- a/backend/templates/proxy_host.conf +++ b/backend/templates/proxy_host.conf @@ -32,7 +32,7 @@ server { {% if allow_websocket_upgrade == 1 or allow_websocket_upgrade == true %} proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; + proxy_set_header Connection $http_connection; proxy_http_version 1.1; {% endif %}