Quantcast
Channel: Nginx Forum - Other discussion
Viewing all articles
Browse latest Browse all 972

Multiple backup in upstream

$
0
0
Hi!

I want's to understand how multiple backups works

For example, we have 5 instances in upstream

upstream backend {
server instance-1;
server instance-2 backup;
server instance-3 backup;
server instance-4 backup;
server instance-5 backup;
}

If instance-1 is down, what backup instance will be accept connetction?
Whey all with balancing, or first in list of backups?

I needs to send all connections to one instance
For example:
if instance-1 is down, all connection should be sent to instance-2
if instance-1 and instance-2 is down, all connections should be sent to instance-3
etc

How can i realise it?

Viewing all articles
Browse latest Browse all 972

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>