Hold requests long enough for me to restart upstream?

mike mike503 at gmail.com
Fri Mar 20 23:48:24 MSK 2009


On Fri, Mar 20, 2009 at 1:36 PM, Cliff Wells <cliff at develix.com> wrote:
> It does, but the OP only has a single upstream.

Ah.

I wonder, but what if the OP put the same upstream down multiple times
in an upstream {} block with appropriate retry/timeout settings, like
so...

max_fails=1  fail_timeout=20s;

Essentially it would be a loop but it would allow to retry the same
upstream (assuming nginx does not have an internal table that rejects
or malfunctions if you define the same upstream more than once)





More information about the nginx mailing list