Skip to content

Commit 8260921

Browse files
committed
feat: remove ws block
1 parent a5d6b96 commit 8260921

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

beta_.conf

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,11 @@ server {
22
listen 80;
33
server_name localhost;
44

5-
set $WS_BACKEND_URL ws://localhost:4000;
6-
75
location / {
86
root /usr/share/nginx/html;
97
index index.html index.htm;
108
try_files $uri /index.html;
119
}
12-
location /ws {
13-
proxy_pass $WS_BACKEND_URL;
14-
proxy_http_version 1.1;
15-
proxy_set_header Upgrade $http_upgrade;
16-
proxy_set_header Connection "Upgrade";
17-
proxy_read_timeout 86400;
18-
}
1910

2011
error_page 500 502 503 504 /50x.html;
2112
location = /50x.html {

0 commit comments

Comments
 (0)