Module ngx_http_split_clients_module | english русский 简体中文 עברית 日本語 türkçe news about download security advisories documentation pgp keys faq links books support donation trac wiki nginx.com | ||||||
The Example Configuration
http { split_clients "${remote_addr}AAA" $variant { 0.5% .one; 2.0% .two; * ""; } server { location / { index index${variant}.html;
Directives
Creates a variable for A/B testing, for example: split_clients "${remote_addr}AAA" $variant { 0.5% .one; 2.0% .two; * ""; }
The value of the original string is hashed using MurmurHash2.
In the example given, hash values from 0 to 21474835 (0.5%)
correspond to the |