diff xml/en/docs/http/ngx_http_upstream_module.xml @ 2223:a692df6ef304

Added upstream keepalive_timeout and keepalive_requests.
author Yaroslav Zhuravlev <yar@nginx.com>
date Wed, 22 Aug 2018 12:44:26 +0300
parents 0974dc0a6209
children e2c3d17d0f58
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_upstream_module.xml
+++ b/xml/en/docs/http/ngx_http_upstream_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_upstream_module"
         link="/en/docs/http/ngx_http_upstream_module.html"
         lang="en"
-        rev="73">
+        rev="74">
 
 <section id="summary">
 
@@ -642,6 +642,35 @@ SCGI and uwsgi protocols do not have a n
 </directive>
 
 
+<directive name="keepalive_requests">
+<syntax><value>number</value></syntax>
+<default>100</default>
+<context>upstream</context>
+<appeared-in>1.15.3</appeared-in>
+
+<para>
+Sets the maximum number of requests that can be
+served through one keep-alive connection.
+After the maximum number of requests is made, the connection is closed.
+</para>
+
+</directive>
+
+
+<directive name="keepalive_timeout">
+<syntax><value>timeout</value></syntax>
+<default>60s</default>
+<context>upstream</context>
+<appeared-in>1.15.3</appeared-in>
+
+<para>
+Sets a timeout during which a keep-alive
+connection to an upstream server will stay open.
+</para>
+
+</directive>
+
+
 <directive name="ntlm">
 <syntax/>
 <default/>