Thank you for your reply Maxim, that's exactly what's happening. It's closing the socket for all the other requests I try, but not that one. I guess the problem is farther down the line somewhere. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,254687,254743#msg-254743