nginx-0.8.37

Wendal Chen wendal1985 at gmail.com
Mon May 17 14:06:06 MSD 2010


Thanks Igor.

2010/5/17 Igor Sysoev <igor at sysoev.ru>

> On Mon, May 17, 2010 at 04:51:45PM +0800, lhmwzy wrote:
>
> > How to use ngx_http_split_clients_module?
> > Please give an example.
>
> http {
>    split_clients "${remote_addr}AAA"  $variant {
>                   0.5%                .one;
>                   2.0%                .two;
>                   -                   "";
>    }
>
>    server {
>        location / {
>            index  index${variant}.html;
>
> $cookie_..., etc, may be used as a source for splitting.
> The source string is hashed using CRC32 and the percent of the hash
> is used as source value.
>
>
> --
> Igor Sysoev
> http://sysoev.ru/en/
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20100517/5c2d7c97/attachment.html>


More information about the nginx mailing list