Forum: NGINX split-clients for vhosts how?

Posted by Varix (Guest)
on 2013-02-25 21:32
(Received via mailing list)
Hallo,

what is the right way to use the Module ngx_http_split_clients_module 
with
some vhosts?

Varix

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,236593,236593#msg-236593
Posted by Varix (Guest)
on 2013-02-27 18:49
(Received via mailing list)
Or same question in an other ask.

For example I have a server with 10 virtualdomains.

vhost 1, example.com with 5,000 visitors a month
vhost 2, example.org with 300,000 visitors a month
vhost 3, example.net with 10,000 visitors a month
vhost 4, example.de with 20,0000 visitors a month
vhost 5, example.fr with 800,000 visitors a month
vhost 6, example.nl with 350,000 visitors a month
vhost 7, example2.com with 20,000 visitors a month
vhost 8, example3.com with 2,000 visitors a month
vhost 9, example4.com with 175,000 visitors a month
vhost 10, example5.com with 50,000 visitors a month

We will splittest on vhost 1,6,8 and 9.
vhost 1 with two sites 50:50
vhost 6 with three sites 33.33:33.33:33.33
vhost 8 with two sites 50:50
vhost 9 with four sites 30:30:20:20

Where and how is the configuration for each domain?


What is "AAA" meaning in the first line?
split_clients "${remote_addr}AAA" $variant {
               0.5%               .one;
               2.0%               .two;
               *                  "";
}

Varix

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,236593,236678#msg-236678
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.