# HG changeset patch # User Ruslan Ermilov # Date 1450429054 -10800 # Node ID d846df055f036d31fa6f8e978dba8dec1d8dde1b # Parent 5d0622281aec7ced9751207d9e2eb197c79b70d6 Disambiguated a sentence about multiple limit_conn limits. diff --git a/xml/en/docs/http/ngx_http_limit_conn_module.xml b/xml/en/docs/http/ngx_http_limit_conn_module.xml --- a/xml/en/docs/http/ngx_http_limit_conn_module.xml +++ b/xml/en/docs/http/ngx_http_limit_conn_module.xml @@ -10,7 +10,7 @@ + rev="8">
@@ -82,8 +82,7 @@ In HTTP/2 and SPDY, each concurrent requ -When several limit_conn directives are specified, -any configured limit will apply. +There could be several limit_conn 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: diff --git a/xml/ru/docs/http/ngx_http_limit_conn_module.xml b/xml/ru/docs/http/ngx_http_limit_conn_module.xml --- a/xml/ru/docs/http/ngx_http_limit_conn_module.xml +++ b/xml/ru/docs/http/ngx_http_limit_conn_module.xml @@ -10,7 +10,7 @@ + rev="8">
@@ -81,9 +81,7 @@ IP-адреса. -Допустимо одновременное указание нескольких директив -limit_conn, -при этом будет срабатывать любое из ограничений. +Директив limit_conn может быть несколько. Например, следующая конфигурация ограничивает число соединений с сервером с одного клиентского IP-адреса и в то же время ограничивает общее число соединений с виртуальным сервером: