Balancer Algorithms

Almir Karic almir at kiberpipa.org
Thu Nov 20 14:28:08 MSK 2008


On Thu, Nov 20, 2008 at 11:09:08AM +0000, Stephen Nelson-Smith wrote:
> Hello,
> 
> I want to distribute traffic across backend servers based purely on
> *availability*.
> 
> I don't want to send some traffic to one which is less busy, or has
> less traffic, , or has fewer connections, I want to send traffic to a
> second node only if the first node is unavailable.
> 
> How can I do this?

see http://wiki.codemongers.com/NginxHttpUpstreamModule , you are looking for
the "backup" argument.





More information about the nginx mailing list