If i insert this into my nginx config
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
...
location /socket.io/ {
proxy_pass http://localhost:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
}
Most times it won't connect - it's stuck.
Sometimes it connects after being stuck for some time.
If i insert this into my nginx config
Most times it won't connect - it's stuck.
Sometimes it connects after being stuck for some time.