Thanks Igor.
2010/5/17 Igor Sysoev <igor@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@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx