diff xml/en/docs/http/ngx_http_grpc_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 ca7568f67dee
children bdc7cacb164f
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_grpc_module.xml	Tue Oct 09 12:28:06 2018 +0300
+++ b/xml/en/docs/http/ngx_http_grpc_module.xml	Tue Oct 09 19:56:33 2018 +0300
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_grpc_module"
         link="/en/docs/http/ngx_http_grpc_module.html"
         lang="en"
-        rev="1">
+        rev="2">
 
 <section id="summary">
 
@@ -441,6 +441,25 @@
 </directive>
 
 
+<directive name="grpc_socket_keepalive">
+<syntax><literal>on</literal> | <literal>off</literal></syntax>
+<default>off</default>
+<context>http</context>
+<context>server</context>
+<context>location</context>
+<appeared-in>1.15.6</appeared-in>
+
+<para>
+Configures the “TCP keepalive” behavior
+for outgoing connections to a gRPC 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="grpc_ssl_certificate">
 <syntax><value>file</value></syntax>
 <default/>