Mercurial > hg > nginx-site
comparison xml/en/docs/stream/ngx_stream_proxy_module.xml @ 1526:7b15698cbdb7
Updated the proxy_timeout directive for mail and stream.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 01 Jul 2015 21:05:02 +0300 |
parents | 0d349b6211f5 |
children | 61b1ab5adbc9 |
comparison
equal
deleted
inserted
replaced
1525:e47758a54759 | 1526:7b15698cbdb7 |
---|---|
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="8"> | 12 rev="9"> |
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 |
31 } | 31 } |
32 | 32 |
33 server { | 33 server { |
34 listen 12345; | 34 listen 12345; |
35 proxy_connect_timeout 1s; | 35 proxy_connect_timeout 1s; |
36 proxy_timeout 3s; | 36 proxy_timeout 1m; |
37 proxy_pass example.com:12345; | 37 proxy_pass example.com:12345; |
38 } | 38 } |
39 | 39 |
40 server { | 40 server { |
41 listen [::1]:12345; | 41 listen [::1]:12345; |
417 <default>10m</default> | 417 <default>10m</default> |
418 <context>stream</context> | 418 <context>stream</context> |
419 <context>server</context> | 419 <context>server</context> |
420 | 420 |
421 <para> | 421 <para> |
422 Defines a timeout used after the proxying to the backend had started. | 422 Sets the <value>timeout</value> between two successive |
423 read or write operations on client or proxied server connections. | |
424 If no data is transmitted within this time, the connection is closed. | |
423 </para> | 425 </para> |
424 | 426 |
425 </directive> | 427 </directive> |
426 | 428 |
427 | 429 |