diff xml/en/docs/http/ngx_http_limit_req_module.xml @ 2291:3294470932c5

Documented the "delay" parameter for limit_req.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 27 Nov 2018 20:31:05 +0300
parents 283b1e67eaa6
children f86b5961e9b8
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_limit_req_module.xml	Tue Nov 27 19:04:53 2018 +0300
+++ b/xml/en/docs/http/ngx_http_limit_req_module.xml	Tue Nov 27 20:31:05 2018 +0300
@@ -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="9">
+        rev="10">
 
 <section id="summary">
 
@@ -53,7 +53,8 @@
 <syntax>
     <literal>zone</literal>=<value>name</value>
     [<literal>burst</literal>=<value>number</value>]
-    [<literal>nodelay</literal>]</syntax>
+    [<literal>nodelay</literal> |
+     <literal>delay</literal>=<value>number</value>]</syntax>
 <default/>
 <context>http</context>
 <context>server</context>
@@ -91,6 +92,12 @@
 </example>
 </para>
 
+<para id="limit_req_delay">
+The <literal>delay</literal> parameter (1.15.7) specifies a limit
+at which excessive requests become delayed.
+Default value is zero, i.e. all excessive requests are delayed.
+</para>
+
 <para>
 There could be several <literal>limit_req</literal> directives.
 For example, the following configuration will limit the processing rate