Mercurial > hg > nginx-site
changeset 180:9e7d0c9c7eaa
Mentioned the compatible "limit_conn_zone" directive syntax for the
older "limit_zone" directive.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 15 Nov 2011 07:34:43 +0000 |
parents | 8cc01e2179a9 |
children | f26606d1203b |
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, 14 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_limit_conn_module.xml Mon Nov 14 18:09:03 2011 +0000 +++ b/xml/en/docs/http/ngx_http_limit_conn_module.xml Tue Nov 15 07:34:43 2011 +0000 @@ -149,7 +149,13 @@ <para> This directive is made obsolete in version 1.1.8, -the <link id="limit_conn_zone"/> directive should be used instead. +an equivalent <link id="limit_conn_zone"/> directive +with a changed syntax should be used instead: +<note> +<code>limit_conn_zone </code> +<argument>$variable </argument> +<parameter>zone</parameter>=<argument>name</argument>:<argument>size</argument>; +</note> </para> </directive>
--- a/xml/ru/docs/http/ngx_http_limit_conn_module.xml Mon Nov 14 18:09:03 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_limit_conn_module.xml Tue Nov 15 07:34:43 2011 +0000 @@ -148,7 +148,13 @@ <para> Эта директива устарела в версии 1.1.8, вместо неё следует -использовать директиву <link id="limit_conn_zone"/>. +использовать аналогичную директиву <link id="limit_conn_zone"/> +с изменённым синтаксисом: +<note> +<code>limit_conn_zone </code> +<argument>$переменная </argument> +<parameter>zone</parameter>=<argument>название</argument>:<argument>размер</argument>; +</note> </para> </directive>