Mercurial > hg > nginx-site
changeset 1628:d846df055f03
Disambiguated a sentence about multiple limit_conn limits.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 18 Dec 2015 11:57:34 +0300 |
parents | 5d0622281aec |
children | 7945dac7ad47 |
files | xml/en/docs/http/ngx_http_limit_conn_module.xml xml/ru/docs/http/ngx_http_limit_conn_module.xml |
diffstat | 2 files changed, 4 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_limit_conn_module.xml Thu Dec 17 19:50:56 2015 +0300 +++ b/xml/en/docs/http/ngx_http_limit_conn_module.xml Fri Dec 18 11:57:34 2015 +0300 @@ -10,7 +10,7 @@ <module name="Module ngx_http_limit_conn_module" link="/en/docs/http/ngx_http_limit_conn_module.html" lang="en" - rev="7"> + rev="8"> <section id="summary"> @@ -82,8 +82,7 @@ </para> <para> -When several <literal>limit_conn</literal> directives are specified, -any configured limit will apply. +There could be several <literal>limit_conn</literal> directives. For example, the following configuration will limit the number of connections to the server per a client IP and, at the same time, the total number of connections to the virtual server:
--- a/xml/ru/docs/http/ngx_http_limit_conn_module.xml Thu Dec 17 19:50:56 2015 +0300 +++ b/xml/ru/docs/http/ngx_http_limit_conn_module.xml Fri Dec 18 11:57:34 2015 +0300 @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_limit_conn_module" link="/ru/docs/http/ngx_http_limit_conn_module.html" lang="ru" - rev="7"> + rev="8"> <section id="summary"> @@ -81,9 +81,7 @@ </para> <para> -Допустимо одновременное указание нескольких директив -<literal>limit_conn</literal>, -при этом будет срабатывать любое из ограничений. +Директив <literal>limit_conn</literal> может быть несколько. Например, следующая конфигурация ограничивает число соединений с сервером с одного клиентского IP-адреса и в то же время ограничивает общее число соединений с виртуальным сервером: