Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_limit_conn_module.xml @ 1628:d846df055f03
Disambiguated a sentence about multiple limit_conn limits.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 18 Dec 2015 11:57:34 +0300 |
parents | a3509ca11ab4 |
children | 6c96a644b0b3 |
comparison
equal
deleted
inserted
replaced
1627:5d0622281aec | 1628:d846df055f03 |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_limit_conn_module" | 10 <module name="Module ngx_http_limit_conn_module" |
11 link="/en/docs/http/ngx_http_limit_conn_module.html" | 11 link="/en/docs/http/ngx_http_limit_conn_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="7"> | 13 rev="8"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_limit_conn_module</literal> module is used to | 18 The <literal>ngx_http_limit_conn_module</literal> module is used to |
80 In HTTP/2 and SPDY, each concurrent request is considered a separate connection. | 80 In HTTP/2 and SPDY, each concurrent request is considered a separate connection. |
81 </note> | 81 </note> |
82 </para> | 82 </para> |
83 | 83 |
84 <para> | 84 <para> |
85 When several <literal>limit_conn</literal> directives are specified, | 85 There could be several <literal>limit_conn</literal> directives. |
86 any configured limit will apply. | |
87 For example, the following configuration will limit the number | 86 For example, the following configuration will limit the number |
88 of connections to the server per a client IP and, at the same time, | 87 of connections to the server per a client IP and, at the same time, |
89 the total number of connections to the virtual server: | 88 the total number of connections to the virtual server: |
90 <example> | 89 <example> |
91 limit_conn_zone $binary_remote_addr zone=perip:10m; | 90 limit_conn_zone $binary_remote_addr zone=perip:10m; |