Balancer Algorithms

Stephen Nelson-Smith sanelson at gmail.com
Thu Nov 20 15:23:53 MSK 2008


Hi,

>> That looks good.  If I add backend3.example.com backup, I assume that
>> is used only if backed2 fails.
>
> No, your assumption is wrong.  All servers with backup flag are
> activated if all servers without backup flag are dead.

Ahh... So is there a way to do this:

* backend1 (primary)>
* if backend1 fails, send traffic to backend2
* if backend2 fails, send traffic to backend3

S.





More information about the nginx mailing list