Mercurial > hg > nginx-site
diff 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 |
line wrap: on
line diff
--- a/xml/en/docs/stream/ngx_stream_proxy_module.xml Tue Oct 09 12:28:06 2018 +0300 +++ b/xml/en/docs/stream/ngx_stream_proxy_module.xml Tue Oct 09 19:56:33 2018 +0300 @@ -9,7 +9,7 @@ <module name="Module ngx_stream_proxy_module" link="/en/docs/stream/ngx_stream_proxy_module.html" lang="en" - rev="20"> + rev="21"> <section id="summary"> @@ -269,6 +269,24 @@ </directive> +<directive name="proxy_socket_keepalive"> +<syntax><literal>on</literal> | <literal>off</literal></syntax> +<default>off</default> +<context>stream</context> +<context>server</context> +<appeared-in>1.15.6</appeared-in> + +<para> +Configures the “TCP keepalive” behavior +for outgoing connections to a proxied server. +By default, the operating system’s settings are in effect for the socket. +If the directive is set to the value “<literal>on</literal>”, the +<c-def>SO_KEEPALIVE</c-def> socket option is turned on for the socket. +</para> + +</directive> + + <directive name="proxy_ssl"> <syntax><literal>on</literal> | <literal>off</literal></syntax> <default>off</default>