Welcome! Log In Create A New Profile

Advanced

Configure specific upstream node to spit 30x error

August 15, 2012 02:52PM
Hi all,

I was wondering if there is feasible way to have a node spit a specific 30x error (i.e. 307) if it becomes unreachable, instead of passing to next upstream node?

upstream mycluster {
server 192.168.1.2;
server 192.168.1.3;
server 192.168.1.4;
}

If node 192.168.1.3 is down, it should return a 307, instead of passing to 192.168.1.4.

Thank you for your help.

Regards,

Floren
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: 276
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