Mercurial > hg > nginx-site
comparison xml/en/docs/stream/ngx_stream_proxy_module.xml @ 1548:08498db38e58
Replaced proxy_downstream/upstream_buffer with proxy_buffer_size.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Thu, 13 Aug 2015 17:11:32 +0300 |
parents | 61b1ab5adbc9 |
children | c4c1dddfedac |
comparison
equal
deleted
inserted
replaced
1547:c340ebfeeed6 | 1548:08498db38e58 |
---|---|
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="10"> | 12 rev="11"> |
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 |
66 </para> | 66 </para> |
67 | 67 |
68 </directive> | 68 </directive> |
69 | 69 |
70 | 70 |
71 <directive name="proxy_buffer_size"> | |
72 <syntax><value>size</value></syntax> | |
73 <default>16k</default> | |
74 <context>stream</context> | |
75 <context>server</context> | |
76 <appeared-in>1.9.4</appeared-in> | |
77 | |
78 <para> | |
79 Sets the <value>size</value> of the buffer used for reading data | |
80 from the proxied server. | |
81 Also sets the <value>size</value> of the buffer used for reading data | |
82 from the client. | |
83 </para> | |
84 | |
85 </directive> | |
86 | |
87 | |
71 <directive name="proxy_connect_timeout"> | 88 <directive name="proxy_connect_timeout"> |
72 <syntax><value>time</value></syntax> | 89 <syntax><value>time</value></syntax> |
73 <default>60s</default> | 90 <default>60s</default> |
74 <context>stream</context> | 91 <context>stream</context> |
75 <context>server</context> | 92 <context>server</context> |
93 The <value>rate</value> is specified in bytes per second. | 110 The <value>rate</value> is specified in bytes per second. |
94 The zero value disables rate limiting. | 111 The zero value disables rate limiting. |
95 The limit is set per a connection, so if nginx simultaneously opens | 112 The limit is set per a connection, so if nginx simultaneously opens |
96 two connections to the proxied server, | 113 two connections to the proxied server, |
97 the overall rate will be twice as much as the specified limit. | 114 the overall rate will be twice as much as the specified limit. |
98 </para> | |
99 | |
100 </directive> | |
101 | |
102 | |
103 <directive name="proxy_downstream_buffer"> | |
104 <syntax><value>size</value></syntax> | |
105 <default>16k</default> | |
106 <context>stream</context> | |
107 <context>server</context> | |
108 | |
109 <para> | |
110 Sets the <value>size</value> of the | |
111 buffer used for reading data from the client. | |
112 </para> | 115 </para> |
113 | 116 |
114 </directive> | 117 </directive> |
115 | 118 |
116 | 119 |
443 the overall rate will be twice as much as the specified limit. | 446 the overall rate will be twice as much as the specified limit. |
444 </para> | 447 </para> |
445 | 448 |
446 </directive> | 449 </directive> |
447 | 450 |
448 | |
449 <directive name="proxy_upstream_buffer"> | |
450 <syntax><value>size</value></syntax> | |
451 <default>16k</default> | |
452 <context>stream</context> | |
453 <context>server</context> | |
454 | |
455 <para> | |
456 Sets the <value>size</value> of the | |
457 buffer used for reading data from the upstream server. | |
458 </para> | |
459 | |
460 </directive> | |
461 | |
462 </section> | 451 </section> |
463 | 452 |
464 </module> | 453 </module> |