Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_limit_conn_module.xml @ 575:ebcb351d9eb3
Consistently using the term "shared memory zone".
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 09 Jul 2012 07:40:53 +0000 |
parents | bef9e1a2e3c8 |
children | be54c443235a |
comparison
equal
deleted
inserted
replaced
574:5e9ff979eac8 | 575:ebcb351d9eb3 |
---|---|
53 <context>http</context> | 53 <context>http</context> |
54 <context>server</context> | 54 <context>server</context> |
55 <context>location</context> | 55 <context>location</context> |
56 | 56 |
57 <para> | 57 <para> |
58 Sets the maximum allowed number of connections for a given key value. | 58 Sets a shared memory zone |
59 and the maximum allowed number of connections for a given key value. | |
59 When this limit is exceeded, the server will return error | 60 When this limit is exceeded, the server will return error |
60 <http-status code="503" text="Service Temporarily Unavailable"/> | 61 <http-status code="503" text="Service Temporarily Unavailable"/> |
61 in reply to a request. | 62 in reply to a request. |
62 For example, the directives | 63 For example, the directives |
63 <example> | 64 <example> |
126 <literal>zone</literal>=<value>name</value>:<value>size</value></syntax> | 127 <literal>zone</literal>=<value>name</value>:<value>size</value></syntax> |
127 <default/> | 128 <default/> |
128 <context>http</context> | 129 <context>http</context> |
129 | 130 |
130 <para> | 131 <para> |
131 Sets the parameters for a zone that keeps states for various keys. | 132 Sets parameters of a shared memory zone that keeps states |
133 for various keys. | |
132 This state stores the current number of connections in particular. | 134 This state stores the current number of connections in particular. |
133 The key is any non-empty value of the specified variable | 135 The key is any non-empty value of the specified variable |
134 (empty values are not accounted). | 136 (empty values are not accounted). |
135 Example usage: | 137 Example usage: |
136 <example> | 138 <example> |