Random Host selection
jorge niedbalski
niedbalski at gmail.com
Tue Apr 20 21:13:48 MSD 2010
On Mon, Apr 19, 2010 at 3:25 PM, jorge niedbalski <niedbalski at gmail.com>wrote:
>
>
> On Mon, Apr 19, 2010 at 2:06 PM, jorge niedbalski <niedbalski at gmail.com>wrote:
>
>> Hi List,
>>
>> Anybody knows a way to pick a random host from a hosts pool for a rewrite
>> rule ?
>>
>> Thanks you in advance.
>>
>> --
>> Jorge Niedbalski R.
>> --------------------------
>> Software Developer & Unix system administrator
>>
>
>
> Maybe this can be implemented as a set $variable_name random(100) , or set
> $variable_name random_range(10,1000) . I am not sure if this should be
> implemented on the ngx_http_rewrite_set function, or exists any other way
> to hook the set cmd ?
>
> Thanks you.
>
>
>
> --
> Jorge Niedbalski R.
> --------------------------
> Software Developer & Unix system administrator
>
Only as a reference
http://nginx.org/pipermail/nginx/2008-August/006841.html , that module
solves my problem.
Thanks you.
--
Jorge Niedbalski R.
--------------------------
Software Developer & Unix system administrator
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20100420/73cd48e8/attachment.html>
More information about the nginx
mailing list