connect_timeout option for proxy_next_upstream

mauro76 nginx-forum at
Tue Dec 11 21:15:44 UTC 2012

I posted this question in another thread but I received no answer, sorry to
ask again.

On my current set up, I'm using the timeout option to make sure the request
is passed to the next upstream if the first server is down.
If the request is hanging, it's possible the request coming in is a bad
request, which could potentially slow down the whole cluster.
I would like to go to the next upstream only on connection timeout.
I wonder if you could provide two additional options, "read_timeout" and
"connect_timeout", leaving "timeout" unchanged.

Posted at Nginx Forum:,233894,233894#msg-233894

More information about the nginx mailing list