Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_limit_req_module.xml @ 2230:283b1e67eaa6
Updated docs for the upcoming NGINX Plus release.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 30 Aug 2018 22:53:18 +0300 |
parents | 6e66487c5756 |
children | 3294470932c5 |
comparison
equal
deleted
inserted
replaced
2229:f134633cff5c | 2230:283b1e67eaa6 |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_limit_req_module" | 10 <module name="Module ngx_http_limit_req_module" |
11 link="/en/docs/http/ngx_http_limit_req_module.html" | 11 link="/en/docs/http/ngx_http_limit_req_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="8"> | 13 rev="9"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_limit_req_module</literal> module (0.7.21) is used | 18 The <literal>ngx_http_limit_req_module</literal> module (0.7.21) is used |
161 | 161 |
162 <directive name="limit_req_zone"> | 162 <directive name="limit_req_zone"> |
163 <syntax> | 163 <syntax> |
164 <value>key</value> | 164 <value>key</value> |
165 <literal>zone</literal>=<value>name</value>:<value>size</value> | 165 <literal>zone</literal>=<value>name</value>:<value>size</value> |
166 <literal>rate</literal>=<value>rate</value></syntax> | 166 <literal>rate</literal>=<value>rate</value> |
167 [<literal>sync</literal>]</syntax> | |
167 <default/> | 168 <default/> |
168 <context>http</context> | 169 <context>http</context> |
169 | 170 |
170 <para> | 171 <para> |
171 Sets parameters for a shared memory zone | 172 Sets parameters for a shared memory zone |
211 If a rate of less than one request per second is desired, | 212 If a rate of less than one request per second is desired, |
212 it is specified in request per minute (r/m). | 213 it is specified in request per minute (r/m). |
213 For example, half-request per second is 30r/m. | 214 For example, half-request per second is 30r/m. |
214 </para> | 215 </para> |
215 | 216 |
217 <para id="limit_req_zone_sync"> | |
218 The <literal>sync</literal> parameter (1.15.3) enables | |
219 <link doc="../stream/ngx_stream_zone_sync_module.xml" id="zone_sync">synchronization</link> | |
220 of the shared memory zone. | |
221 <note> | |
222 The <literal>sync</literal> parameter is available as part of our | |
223 <commercial_version>commercial subscription</commercial_version>. | |
224 </note> | |
225 </para> | |
226 | |
216 </directive> | 227 </directive> |
217 | 228 |
218 </section> | 229 </section> |
219 | 230 |
220 </module> | 231 </module> |