Welcome! Log In Create A New Profile

Advanced

connect_timeout option for proxy_next_upstream

December 11, 2012 04:15PM
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.
Subject Author Posted

connect_timeout option for proxy_next_upstream

mauro76 December 11, 2012 04:15PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 295
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