I turned on logging and it seems that the failed requests do not even appear in the access_log as if the nginx never received it. So the case is that: querying node.js directly like: curl --connect-timeout 60 --max-time 60 --form "username=User" http://127.0.0.1:3001/node/poll/2/1373730895/0/0 works fine, but going through nginx: curl --connect-timeout 60 --max-time 60 --form &by soulmate - How to...
Hi, I have nginx set up as proxy to node.js for long polling like this: location /node1 { access_log off; log_not_found off; proxy_pass http://127.0.0.1:3001/node; proxy_buffering off; proxy_read_timeout 60; break; } Unfortunately about half of long poll requests returns with error and empty response. I verified that is nginx issue as polling nodeby soulmate - How to...
![]() |
![]() |
![]() |
![]() |
|