Open
Description
hi, i have a problem with integration of Socket.io, i'm trying with this config example:
i have this config on this page-> [Edit your custom_rules for Nginx]
if ($host = "example.example.com") {
set $PROXY_SCHEME "http";
set $PROXY_TO_PORT 60033;
set $WEBSOCKET_UPGRADE 1;
}
i have this config on this page-> [Edit proxy_params_common]
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
I also tried created a new server
i have this config on this page-> [Edit default.conf]
server {
listen 80;
server_name example.example.com;
location / {
proxy_pass http://localhost:60033;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
location /socket.io {
proxy_pass http://localhost:60033;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
how can i implement socket.io with engintron V2.2?
Thanks!!
Metadata
Assignees
Labels
No labels