better websocket
This commit is contained in:
parent
224bf7c44c
commit
d74489af16
1 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,8 @@ server {
|
|||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_set_header X-Forwarded-Server $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_pass http://10.0.0.11:5000/socket.io/;
|
||||
|
|
Loading…
Reference in a new issue