better websocket

This commit is contained in:
Xander 2023-12-07 20:37:12 +01:00
parent 224bf7c44c
commit d74489af16
No known key found for this signature in database
GPG key ID: 79979C7BA303E003

View file

@ -54,6 +54,8 @@ server {
proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; 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_http_version 1.1;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_pass http://10.0.0.11:5000/socket.io/; proxy_pass http://10.0.0.11:5000/socket.io/;