The directive “proxy_next_upstream error timeout” takes effect on three
network actions: connection, send and recieve. In practice ,we realy
to try next upstream according to in which actions we are. For example,
do not want to try next upstream if some error occurs or timed out when
recieving response from upstream, otherwise it maybe duplicate my
The proxy_next_upstream_action is involved to address this problem , the
directive takes one or more parameter : conn, send, recv which indicates
whether we should try next upstream.
proxy_next_upstream error timeout;
Try next upstream if error or timed out on connection.
Anyone suggests ?