Explorar o código

Merge pull request #342 from damianog/patch-1

Update proxy_host.conf
jc21 %!s(int64=5) %!d(string=hai) anos
pai
achega
e4286c96a7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      backend/templates/proxy_host.conf

+ 1 - 1
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 %}