diff xml/ru/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/ru/docs/http/ngx_http_grpc_module.xml	Tue Oct 09 12:28:06 2018 +0300
+++ b/xml/ru/docs/http/ngx_http_grpc_module.xml	Tue Oct 09 19:56:33 2018 +0300
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_grpc_module"
         link="/ru/docs/http/ngx_http_grpc_module.html"
         lang="ru"
-        rev="1">
+        rev="2">
 
 <section id="summary">
 
@@ -440,6 +440,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>
+Конфигурирует поведение “TCP keepalive”
+для исходящих соединений к gRPC-серверу.
+По умолчанию для сокета действуют настройки операционной системы.
+Если указано значение “<literal>on</literal>”, то
+для сокета включается параметр <c-def>SO_KEEPALIVE</c-def>.
+</para>
+
+</directive>
+
+
 <directive name="grpc_ssl_certificate">
 <syntax><value>файл</value></syntax>
 <default/>