Mercurial > hg > nginx-site
diff xml/ru/docs/stream/ngx_stream_split_clients_module.xml @ 1752:b4de612feff8
Documented the split_clients module in stream.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Thu, 14 Jul 2016 20:33:18 +0300 |
parents | xml/ru/docs/http/ngx_http_split_clients_module.xml@813b8349cdbe |
children | 42d2806f5b28 |
line wrap: on
line diff
copy from xml/ru/docs/http/ngx_http_split_clients_module.xml copy to xml/ru/docs/stream/ngx_stream_split_clients_module.xml --- a/xml/ru/docs/http/ngx_http_split_clients_module.xml +++ b/xml/ru/docs/stream/ngx_stream_split_clients_module.xml @@ -1,22 +1,21 @@ <?xml version="1.0"?> <!-- - Copyright (C) Igor Sysoev Copyright (C) Nginx, Inc. --> <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> -<module name="Модуль ngx_http_split_clients_module" - link="/ru/docs/http/ngx_http_split_clients_module.html" +<module name="Модуль ngx_stream_split_clients_module" + link="/ru/docs/stream/ngx_stream_split_clients_module.html" lang="ru" - rev="2"> + rev="1"> <section id="summary"> <para> -Модуль <literal>ngx_http_split_clients_module</literal> создаёт переменные для -A/B тестирования (также известного как “split-тестирование”). +Модуль <literal>ngx_stream_split_clients_module</literal> (1.11.3) создаёт +переменные для A/B тестирования (также известного как “split-тестирование”). </para> </section> @@ -26,16 +25,12 @@ A/B тестирования (также известного как “split-тестирование”). <para> <example> -http { +stream { split_clients "${remote_addr}AAA" $variant { 0.5% .one; 2.0% .two; * ""; } - - server { - location / { - index index${variant}.html; </example> </para> @@ -49,7 +44,7 @@ http { <value>строка</value> <value>$переменная</value></syntax> <default/> -<context>http</context> +<context>stream</context> <para> Создаёт переменную для A/B тестирования, например: