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.