# HG changeset patch # User Ruslan Ermilov # Date 1328271388 0 # Node ID bef9e1a2e3c852558161ed04176d52b4b76561a0 # Parent 7a78f70f1cca1ed5eb6403c7735f4f0c3ecfcb0f Documented the fact that empty values are not accounted in zones. diff -r 7a78f70f1cca -r bef9e1a2e3c8 xml/en/docs/http/ngx_http_limit_conn_module.xml --- a/xml/en/docs/http/ngx_http_limit_conn_module.xml Fri Feb 03 05:31:33 2012 +0000 +++ b/xml/en/docs/http/ngx_http_limit_conn_module.xml Fri Feb 03 12:16:28 2012 +0000 @@ -130,7 +130,8 @@ Sets the parameters for a zone that keeps states for various keys. This state stores the current number of connections in particular. -The key is the value of the specified variable. +The key is any non-empty value of the specified variable +(empty values are not accounted). Example usage: limit_conn_zone $binary_remote_addr zone=addr:10m; diff -r 7a78f70f1cca -r bef9e1a2e3c8 xml/en/docs/http/ngx_http_limit_req_module.xml --- a/xml/en/docs/http/ngx_http_limit_req_module.xml Fri Feb 03 05:31:33 2012 +0000 +++ b/xml/en/docs/http/ngx_http_limit_req_module.xml Fri Feb 03 12:16:28 2012 +0000 @@ -121,7 +121,8 @@ Sets the parameters for a zone that keeps states for various keys. This state stores the current number of requests in particular. -The key is the value of the specified variable. +The key is any non-empty value of the specified variable +(empty values are not accounted). Example usage: limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s; diff -r 7a78f70f1cca -r bef9e1a2e3c8 xml/ru/docs/http/ngx_http_limit_conn_module.xml --- a/xml/ru/docs/http/ngx_http_limit_conn_module.xml Fri Feb 03 05:31:33 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_limit_conn_module.xml Fri Feb 03 12:16:28 2012 +0000 @@ -130,7 +130,8 @@ Задаёт параметры зоны, которая хранит состояние для разных значений ключа. Состояние в частности хранит текущее число соединений. -Ключом является значение заданной переменной. +Ключом является любое непустое значение заданной переменной +(пустые значения не учитываются). Пример использования: limit_conn_zone $binary_remote_addr zone=addr:10m; diff -r 7a78f70f1cca -r bef9e1a2e3c8 xml/ru/docs/http/ngx_http_limit_req_module.xml --- a/xml/ru/docs/http/ngx_http_limit_req_module.xml Fri Feb 03 05:31:33 2012 +0000 +++ b/xml/ru/docs/http/ngx_http_limit_req_module.xml Fri Feb 03 12:16:28 2012 +0000 @@ -121,7 +121,8 @@ Задаёт параметры зоны, которая хранит состояние для разных значений ключа. Состояние в частности хранит текущее число запросов. -Ключом является значение заданной переменной. +Ключом является любое непустое значение заданной переменной +(пустые значения не учитываются). Пример использования: limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s;