Skip to content

Commit 733e02a

Browse files
committed
[Fix] Sock.js error
1 parent 417575e commit 733e02a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

config/nginx/local.conf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,12 @@ server {
3737

3838
location / {
3939
proxy_pass http://frontend_server/;
40+
proxy_redirect off;
4041
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
4142
proxy_set_header Host $host;
42-
proxy_redirect off;
43+
proxy_http_version 1.1;
44+
proxy_set_header Upgrade $http_upgrade;
45+
proxy_set_header Connection "upgrade";
4346
}
4447

4548

0 commit comments

Comments
 (0)