Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_limit_req_module.xml @ 3043:9eadb98ec770
Free nginx: removed commercial version documentation.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 14 Feb 2024 20:05:49 +0300 |
parents | eeed494bba51 |
children |
comparison
equal
deleted
inserted
replaced
3042:19e4897acb84 | 3043:9eadb98ec770 |
---|---|
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="16"> | 13 rev="17"> |
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 |
185 | 185 |
186 <directive name="limit_req_zone"> | 186 <directive name="limit_req_zone"> |
187 <syntax> | 187 <syntax> |
188 <value>key</value> | 188 <value>key</value> |
189 <literal>zone</literal>=<value>name</value>:<value>size</value> | 189 <literal>zone</literal>=<value>name</value>:<value>size</value> |
190 <literal>rate</literal>=<value>rate</value> | 190 <literal>rate</literal>=<value>rate</value></syntax> |
191 [<literal>sync</literal>]</syntax> | |
192 <default/> | 191 <default/> |
193 <context>http</context> | 192 <context>http</context> |
194 | 193 |
195 <para> | 194 <para> |
196 Sets parameters for a shared memory zone | 195 Sets parameters for a shared memory zone |
236 If a rate of less than one request per second is desired, | 235 If a rate of less than one request per second is desired, |
237 it is specified in request per minute (r/m). | 236 it is specified in request per minute (r/m). |
238 For example, half-request per second is 30r/m. | 237 For example, half-request per second is 30r/m. |
239 </para> | 238 </para> |
240 | 239 |
241 <para id="limit_req_zone_sync"> | |
242 The <literal>sync</literal> parameter (1.15.3) enables | |
243 <link doc="../stream/ngx_stream_zone_sync_module.xml" id="zone_sync">synchronization</link> | |
244 of the shared memory zone. | |
245 <note> | |
246 The <literal>sync</literal> parameter is available as part of our | |
247 <commercial_version>commercial subscription</commercial_version>. | |
248 </note> | |
249 </para> | |
250 | |
251 <para> | |
252 <note> | |
253 Additionally, as part of our | |
254 <commercial_version>commercial subscription</commercial_version>, | |
255 the | |
256 <link doc="ngx_http_api_module.xml" id="http_limit_reqs_">status information</link> | |
257 for each such shared memory zone can be | |
258 <link doc="ngx_http_api_module.xml" id="getHttpLimitReqZone">obtained</link> or | |
259 <link doc="ngx_http_api_module.xml" id="deleteHttpLimitReqZoneStat">reset</link> | |
260 with the <link doc="ngx_http_api_module.xml">API</link> since 1.17.7. | |
261 </note> | |
262 </para> | |
263 | |
264 </directive> | 240 </directive> |
265 | 241 |
266 </section> | 242 </section> |
267 | 243 |
268 | 244 |