Welcome! Log In Create A New Profile

Advanced

Re: How to wait for upstream server to start

Guillaume Filion
February 24, 2010 04:40PM
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/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to wait for upstream server to start

kevin gill February 23, 2010 05:06PM

Re: How to wait for upstream server to start

kevin gill February 23, 2010 07:06PM

Re: How to wait for upstream server to start

Timothy Ball February 23, 2010 07:24PM

Re: How to wait for upstream server to start

kevin gill February 24, 2010 05:32AM

Re: How to wait for upstream server to start

Guillaume Filion February 24, 2010 04:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 237
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready