http {
split-clients "${remote-addr}AAA" $variant {
0.5% .one;
2.0% .two;
- "";
}
server {
location / {
index index${variant}.html;
可以使用$cookie-...作为来源来分离请求,来源字符串使用CRC32进行哈希计算并且哈希百分比将作为来源的值。