Welcome! Log In Create A New Profile

Advanced

Add proxy_next_upstream_action to distinguish diffrient network actions

January 15, 2014 02:30AM
Hi all:

The directive "proxy_next_upstream error timeout" takes effect on three
network actions: connection, send and recieve. In practice ,we realy want
to try next upstream according to in which actions we are. For example, I
do not want to try next upstream if some error occurs or timed out when
recieving response from upstream, otherwise it maybe duplicate my request .

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.

Usage:
proxy_next_upstream error timeout;
proxy_next_upstream_action conn;
Try next upstream if error or timed out on connection.

Anyone suggests ?
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Add proxy_next_upstream_action to distinguish diffrient network actions

renenglish January 15, 2014 02:30AM

Re: Add proxy_next_upstream_action to distinguish diffrient network actions

renenglish January 17, 2014 04:11AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 74
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready