Mercurial > hg > nginx-site
comparison xml/en/docs/http/websocket.xml @ 1525:e47758a54759
Updated the "WebSockets Proxying" article with proxy_read_timeout.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 01 Jul 2015 15:54:32 +0300 |
parents | 95c3c3bbf1ce |
children | d1d49bbb3df0 |
comparison
equal
deleted
inserted
replaced
1524:323b0d071166 | 1525:e47758a54759 |
---|---|
5 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> | 5 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> |
6 | 6 |
7 <article name="WebSocket proxying" | 7 <article name="WebSocket proxying" |
8 link="/en/docs/http/websocket.html" | 8 link="/en/docs/http/websocket.html" |
9 lang="en" | 9 lang="en" |
10 rev="1"> | 10 rev="2"> |
11 | 11 |
12 | 12 |
13 <section> | 13 <section> |
14 | 14 |
15 <para> | 15 <para> |
75 } | 75 } |
76 } | 76 } |
77 </programlisting> | 77 </programlisting> |
78 </para> | 78 </para> |
79 | 79 |
80 <para> | |
81 By default, the connection will be closed | |
82 if no data is transmitted within 60 seconds. | |
83 The <link doc="ngx_http_proxy_module.xml" id="proxy_read_timeout"/> and | |
84 <link doc="ngx_http_proxy_module.xml" id="proxy_send_timeout"/> directives | |
85 allow overriding this value: | |
86 <programlisting> | |
87 location /chat/ { | |
88 ... | |
89 | |
90 proxy_read_timeout 10m; | |
91 proxy_send_timeout 10m; | |
92 } | |
93 </programlisting> | |
94 </para> | |
95 | |
80 </section> | 96 </section> |
81 | 97 |
82 </article> | 98 </article> |