Welcome! Log In Create A New Profile

Advanced

Re: nginx-0.8.37

May 17, 2010 05:56AM
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
Subject Author Posted

nginx-0.8.37

Igor Sysoev May 17, 2010 02:22AM

Re: nginx-0.8.37

Joe May 17, 2010 02:24AM

Re: nginx-0.8.37

lhmwzy May 17, 2010 04:56AM

Re: nginx-0.8.37

Weibin Yao May 17, 2010 05:52AM

Re: nginx-0.8.37

Igor Sysoev May 17, 2010 05:56AM

Re: nginx-0.8.37

Wendal Chen May 17, 2010 06:12AM

Re: nginx-0.8.37

Manlio Perillo May 18, 2010 12:10PM

Re: nginx-0.8.37

Igor Sysoev May 18, 2010 12:16PM

Re: nginx-0.8.37

Manlio Perillo May 18, 2010 12:44PM

Re: nginx-0.8.37

Igor Sysoev May 18, 2010 12:50PM

Re: nginx-0.8.37

Manlio Perillo May 18, 2010 01:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 323
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready