Not able to connect to socket.io through nginx
问题 I have nginx configured such that any php request goes to Apache server and any url with /node/ in it goes to the node server running on 8888 including a socket listener. the nginx.conf is as below server { listen 80; server_name http://domain; location / { proxy_pass http://localhost:8080; } location /node { rewrite ^/node(.+)$ $1 break; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_pass http://localhost:8888; } } Now the problem