Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_limit_req_module.xml @ 390:bef9e1a2e3c8
Documented the fact that empty values are not accounted in zones.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 03 Feb 2012 12:16:28 +0000 |
parents | a4fa80755eab |
children | 0e55c9a48da9 |
comparison
equal
deleted
inserted
replaced
389:7a78f70f1cca | 390:bef9e1a2e3c8 |
---|---|
119 <context>http</context> | 119 <context>http</context> |
120 | 120 |
121 <para> | 121 <para> |
122 Sets the parameters for a zone that keeps states for various keys. | 122 Sets the parameters for a zone that keeps states for various keys. |
123 This state stores the current number of requests in particular. | 123 This state stores the current number of requests in particular. |
124 The key is the value of the specified variable. | 124 The key is any non-empty value of the specified variable |
125 (empty values are not accounted). | |
125 Example usage: | 126 Example usage: |
126 <example> | 127 <example> |
127 limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s; | 128 limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s; |
128 </example> | 129 </example> |
129 </para> | 130 </para> |