Welcome! Log In Create A New Profile

Advanced

Re: Configure specific upstream node to spit 30x error

Maxim Dounin
August 15, 2012 05:32PM
Hello!

On Wed, Aug 15, 2012 at 05:12:43PM -0400, TECK wrote:

> Thank you, Maxim. Related to second part of my question:
> Will the POST be passed properly to next node, if first one fails? If is
> not, is there a configuration setting that will enable that feature?

Once you return 307 redirect to a client - it's up to a client to
decide what to do.

If you want nginx to pass requests to a next upstream server, just
leave proxy_next_upstream as set by default to "error timeout".
It works for all request methods.

See here for details:
http://nginx.org/r/proxy_next_upstream

Maxim Dounin

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

Configure specific upstream node to spit 30x error

TECK August 15, 2012 02:52PM

Re: Configure specific upstream node to spit 30x error

TECK August 15, 2012 03:21PM

Re: Configure specific upstream node to spit 30x error

Maxim Dounin August 15, 2012 04:14PM

Re: Configure specific upstream node to spit 30x error

TECK August 15, 2012 05:12PM

Re: Configure specific upstream node to spit 30x error

Maxim Dounin August 15, 2012 05:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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