upstream module question

Jérôme Loyet jerome at loyet.net
Wed Jun 3 12:42:45 MSD 2009


2009/6/3 Igor Sysoev <is at rambler-co.ru>:
> On Wed, Jun 03, 2009 at 10:05:21AM +0200, J?r?me Loyet wrote:
>
>> Hi all,
>>
>> with the upstream module, in default mode (WRR), what is the best way
>> to disable a server from the pool ?
>>
>> 1- simply remove the line
>
> This is.

So the others just don't work ?

>
>> 2- add the "down" keyword to the server
>> 3- set server weight to 0 to disable it
>>
>> Thx for the answers.
>>
>> ++ jerome
>
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
>
>





More information about the nginx mailing list