Mercurial > hg > nginx-site
comparison xml/en/docs/stream/ngx_stream_proxy_module.xml @ 2788:03b49685c056
Documented the proxy_half_close directive for stream.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 12 Oct 2021 20:51:19 +0100 |
parents | 7041bddec07d |
children | 92e5dca02091 |
comparison
equal
deleted
inserted
replaced
2787:005b056c267f | 2788:03b49685c056 |
---|---|
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="27"> | 12 rev="28"> |
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 proxying | 17 The <literal>ngx_stream_proxy_module</literal> module (1.9.0) allows proxying |
157 </para> | 157 </para> |
158 | 158 |
159 </directive> | 159 </directive> |
160 | 160 |
161 | 161 |
162 <directive name="proxy_half_close"> | |
163 <syntax><literal>on</literal> | <literal>off</literal></syntax> | |
164 <default>off</default> | |
165 <context>stream</context> | |
166 <context>server</context> | |
167 <appeared-in>1.21.4</appeared-in> | |
168 | |
169 <para> | |
170 Enables or disables closing | |
171 each direction of a TCP connection independently (“TCP half-close”). | |
172 If enabled, proxying over TCP will be kept | |
173 until both sides close the connection. | |
174 </para> | |
175 | |
176 </directive> | |
177 | |
178 | |
162 <directive name="proxy_next_upstream"> | 179 <directive name="proxy_next_upstream"> |
163 <syntax><literal>on</literal> | <literal>off</literal></syntax> | 180 <syntax><literal>on</literal> | <literal>off</literal></syntax> |
164 <default>on</default> | 181 <default>on</default> |
165 <context>stream</context> | 182 <context>stream</context> |
166 <context>server</context> | 183 <context>server</context> |