Upstream timeouts

I got a quick question.

If I define a couple of servers in an upstream, and one of them fails,
does Nginx re-send the request(s) for which a response from that
upstream was not received to the other server, or is that request
doomed?

Thanks,
-M

Never mind this question.

I noticed that we had a “proxy_next_upstream timeout” line in the config
file which was causing nginx to not resend the request to the next
upstream when one upstream was completely down!

-M


From: Mohammad K. [email protected]
To: [email protected]
Sent: Monday, September 28, 2009 6:10:41 PM
Subject: upstream timeouts

I got a quick question.

If I define a couple of servers in an upstream, and one of them fails,
does Nginx re-send the request(s) for which a response from that
upstream was not received to the other server, or is that request
doomed?

Thanks,
-M