Mercurial > hg > nginx-site
comparison xml/en/docs/stream/ngx_stream_proxy_module.xml @ 2254:d765ffffd08c
Documented proxy_socket_keepalive and friends.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 09 Oct 2018 19:56:33 +0300 |
parents | 962e1adfa032 |
children | f047bd9403d5 |
comparison
equal
deleted
inserted
replaced
2253:a89093ff86a3 | 2254:d765ffffd08c |
---|---|
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="20"> | 12 rev="21"> |
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 |
267 </para> | 267 </para> |
268 | 268 |
269 </directive> | 269 </directive> |
270 | 270 |
271 | 271 |
272 <directive name="proxy_socket_keepalive"> | |
273 <syntax><literal>on</literal> | <literal>off</literal></syntax> | |
274 <default>off</default> | |
275 <context>stream</context> | |
276 <context>server</context> | |
277 <appeared-in>1.15.6</appeared-in> | |
278 | |
279 <para> | |
280 Configures the “TCP keepalive” behavior | |
281 for outgoing connections to a proxied server. | |
282 By default, the operating system’s settings are in effect for the socket. | |
283 If the directive is set to the value “<literal>on</literal>”, the | |
284 <c-def>SO_KEEPALIVE</c-def> socket option is turned on for the socket. | |
285 </para> | |
286 | |
287 </directive> | |
288 | |
289 | |
272 <directive name="proxy_ssl"> | 290 <directive name="proxy_ssl"> |
273 <syntax><literal>on</literal> | <literal>off</literal></syntax> | 291 <syntax><literal>on</literal> | <literal>off</literal></syntax> |
274 <default>off</default> | 292 <default>off</default> |
275 <context>stream</context> | 293 <context>stream</context> |
276 <context>server</context> | 294 <context>server</context> |