title: Long Polling with Nginx - advice and clarification
body: <p>I'd like some clarification on the long-polling requests. I made a script for the long polling, I tried it on nginx (with standard configuration) and it works. I noticed some things. After 60 seconds if the server does not respond nginx returns the 503 error in the log browser, is possible (or should) not to never expire the request, but only when the server responds? If it is possible, how can I do? If not possible, do you advise me to stretch out the request until the server stops (60 seconds) or before (indicate how much time)? If before, how do you advise me to terminate the application?</p>