Mercurial > hg > nginx-site
comparison xml/en/docs/stream/ngx_stream_proxy_module.xml @ 1518:0d349b6211f5
Added proxy_upstream_limit_rate, proxy_downstream_limit_rate.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 24 Jun 2015 14:12:49 +0300 |
parents | eef30c3dc519 |
children | 7b15698cbdb7 |
comparison
equal
deleted
inserted
replaced
1517:53ae63cb4cfa | 1518:0d349b6211f5 |
---|---|
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
8 | 8 |
9 <module name="Module ngx_stream_proxy_module" | 9 <module name="Module ngx_stream_proxy_module" |
10 link="/en/docs/stream/ngx_stream_proxy_module.html" | 10 link="/en/docs/stream/ngx_stream_proxy_module.html" |
11 lang="en" | 11 lang="en" |
12 rev="7"> | 12 rev="8"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 The <literal>ngx_stream_proxy_module</literal> module (1.9.0) allows passing | 17 The <literal>ngx_stream_proxy_module</literal> module (1.9.0) allows passing |
88 <context>server</context> | 88 <context>server</context> |
89 | 89 |
90 <para> | 90 <para> |
91 Sets the <value>size</value> of the | 91 Sets the <value>size</value> of the |
92 buffer used for reading data from the client. | 92 buffer used for reading data from the client. |
93 </para> | |
94 | |
95 </directive> | |
96 | |
97 | |
98 <directive name="proxy_downstream_limit_rate"> | |
99 <syntax><value>rate</value></syntax> | |
100 <default>0</default> | |
101 <context>stream</context> | |
102 <context>server</context> | |
103 <appeared-in>1.9.3</appeared-in> | |
104 | |
105 <para> | |
106 Limits the speed of reading the data from the client. | |
107 The <value>rate</value> is specified in bytes per second. | |
108 The zero value disables rate limiting. | |
109 The limit is set per a connection, so if the client simultaneously opens | |
110 two connections, | |
111 the overall rate will be twice as much as the specified limit. | |
93 </para> | 112 </para> |
94 | 113 |
95 </directive> | 114 </directive> |
96 | 115 |
97 | 116 |
417 buffer used for reading data from the upstream server. | 436 buffer used for reading data from the upstream server. |
418 </para> | 437 </para> |
419 | 438 |
420 </directive> | 439 </directive> |
421 | 440 |
441 | |
442 <directive name="proxy_upstream_limit_rate"> | |
443 <syntax><value>rate</value></syntax> | |
444 <default>0</default> | |
445 <context>stream</context> | |
446 <context>server</context> | |
447 <appeared-in>1.9.3</appeared-in> | |
448 | |
449 <para> | |
450 Limits the speed of reading the data from the proxied server. | |
451 The <value>rate</value> is specified in bytes per second. | |
452 The zero value disables rate limiting. | |
453 The limit is set per a connection, so if nginx simultaneously opens | |
454 two connections to the proxied server, | |
455 the overall rate will be twice as much as the specified limit. | |
456 </para> | |
457 | |
458 </directive> | |
459 | |
422 </section> | 460 </section> |
423 | 461 |
424 </module> | 462 </module> |