Re:Nginx-1.4.0 stable version has been released
by atto on Thursday April 25, 2013 @02:01AM
(#5605912)
You actually need to implement it outside of nginx. The easiest way is just have the client send a message every x seconds, and your application server will immediately respond. If the server does not respond quickly (within a few seconds), close the connection and optionally reconnect.
thank you