Mercurial > hg > nginx-site
changeset 2400:f86b5961e9b8
Documented the limit_req_dry_run directive.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 25 Jun 2019 10:02:31 +0300 |
parents | 3e0407ec741e |
children | 2c92888a3035 |
files | xml/en/docs/http/ngx_http_limit_req_module.xml xml/ru/docs/http/ngx_http_limit_req_module.xml |
diffstat | 2 files changed, 38 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_limit_req_module.xml +++ b/xml/en/docs/http/ngx_http_limit_req_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_limit_req_module" link="/en/docs/http/ngx_http_limit_req_module.html" lang="en" - rev="10"> + rev="11"> <section id="summary"> @@ -126,6 +126,24 @@ directives on the current level. </directive> +<directive name="limit_req_dry_run"> +<syntax><literal>on</literal> | <literal>off</literal></syntax> +<default>on</default> +<context>http</context> +<context>server</context> +<context>location</context> +<appeared-in>1.17.1</appeared-in> + +<para> +Enables the dry run mode. +In this mode, requests processing rate is not limited, however, +in the shared memory zone, the number of excessive requests is accounted +as usual. +</para> + +</directive> + + <directive name="limit_req_log_level"> <syntax> <literal>info</literal> |
--- a/xml/ru/docs/http/ngx_http_limit_req_module.xml +++ b/xml/ru/docs/http/ngx_http_limit_req_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_limit_req_module" link="/ru/docs/http/ngx_http_limit_req_module.html" lang="ru" - rev="10"> + rev="11"> <section id="summary"> @@ -125,6 +125,24 @@ server { </directive> +<directive name="limit_req_dry_run"> +<syntax><literal>on</literal> | <literal>off</literal></syntax> +<default>on</default> +<context>http</context> +<context>server</context> +<context>location</context> +<appeared-in>1.17.1</appeared-in> + +<para> +Включает режим пробного запуска. +В данном режиме скорость обработки запросов не ограничивается, однако +в зоне разделяемой памяти текущее число избыточных запросов учитывается +как обычно. +</para> + +</directive> + + <directive name="limit_req_log_level"> <syntax> <literal>info</literal> |