From 00eb6d4667352a1684c82946801fbf6d6a99f96a Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 27 Feb 2019 21:26:47 +0100 Subject: [PATCH] fix nginx.conf --- conf/nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index b38c6d0..d225572 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -2,7 +2,8 @@ location ^~ __PATH__/ { proxy_pass http://127.0.0.1:__PORT__/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection $proxy_connection; + #proxy_set_header Connection $proxy_connection; + proxy_set_header Connection "upgrade"; proxy_set_header X-Forwarded-Host $server_name__SUB_PATH__; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;