comparison xml/en/docs/http/ngx_http_limit_conn_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 bb51d3e17dd0
children ebcb351d9eb3
comparison
equal deleted inserted replaced
389:7a78f70f1cca 390:bef9e1a2e3c8
128 <context>http</context> 128 <context>http</context>
129 129
130 <para> 130 <para>
131 Sets the parameters for a zone that keeps states for various keys. 131 Sets the parameters for a zone that keeps states for various keys.
132 This state stores the current number of connections in particular. 132 This state stores the current number of connections in particular.
133 The key is the value of the specified variable. 133 The key is any non-empty value of the specified variable
134 (empty values are not accounted).
134 Example usage: 135 Example usage:
135 <example> 136 <example>
136 limit_conn_zone $binary_remote_addr zone=addr:10m; 137 limit_conn_zone $binary_remote_addr zone=addr:10m;
137 </example> 138 </example>
138 Here, an IP address of the client serves as a key. 139 Here, an IP address of the client serves as a key.