소스 검색

Update proxy_host.conf

FIX as explained on #340
Damiano 5 년 전
부모
커밋
3e7d2b216b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 %}