nginx proxy "504 Gateway Time-Out"

Maxim Dounin mdounin at mdounin.ru
Tue Jul 21 23:04:41 MSD 2009


Hello!

On Tue, Jul 21, 2009 at 02:48:51PM -0400, chrisnx wrote:

> Hi!
> 
> I'm trying to proxy a location to a backend COMET server. The COMET server holds long connections, and as such, I need nginx to proxy the connection indefinitely.
> 
> However, I always get a "504 Gateway Time-Out" after about a minute. Does anyone know why? Help would be greatly appreciated.

http://wiki.nginx.org/NginxHttpProxyModule#proxy_read_timeout

Maxim Dounin





More information about the nginx mailing list