Random Host selection
jorge niedbalski
niedbalski at gmail.com
Mon Apr 19 23:25:32 MSD 2010
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20100419/ee2ee8b9/attachment.html>
More information about the nginx
mailing list