From 563dfc54324d76bbb38f1380f9562bf9b11fafd7 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 27 Aug 2021 14:40:53 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 1875f83..b54d111 100755 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,4 +1,4 @@ -location /api/ws/ { +location ~ /ws/* { proxy_pass http://127.0.0.1:__PORT__; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; @@ -26,9 +26,8 @@ location / { } client_max_body_size 50M; - proxy_pass http://127.0.0.1:__PORT__; - proxy_set_header Connection "upgrade"; + proxy_set_header Connection ""; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; @@ -48,6 +47,6 @@ location / { more_clear_input_headers 'Accept-Encoding'; } -location /uploads/ { - alias __FILES_PATH__/uploads/ ; -} +#location /uploads/ { +# alias __FILES_PATH__/uploads/ ; +#}