How to wait for upstream server to start

Guillaume Filion gfk at logidac.com
Thu Feb 25 00:35:06 MSK 2010


Hi Kevin,

kevin gill a écrit :
> I want requests to queue until the server is started, i.e. configure a 30
> second timeout before I get the "502 Bad Gateway" response.

I'm pretty sure that you can do this with proxy_connect_timeout:

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

Hope this helps,
GFK's
-- 
Guillaume Filion
http://guillaume.filion.org/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://nginx.org/pipermail/nginx/attachments/20100224/78ec1f25/attachment.pgp>


More information about the nginx mailing list