# HG changeset patch # User Yaroslav Zhuravlev # Date 1534931066 -10800 # Node ID a692df6ef3041ffcee0f0b96621af649eaba61c8 # Parent 0974dc0a6209b14c459fbc82f3739d6891b7ba7c Added upstream keepalive_timeout and keepalive_requests. diff --git a/xml/en/docs/http/ngx_http_upstream_module.xml b/xml/en/docs/http/ngx_http_upstream_module.xml --- a/xml/en/docs/http/ngx_http_upstream_module.xml +++ b/xml/en/docs/http/ngx_http_upstream_module.xml @@ -10,7 +10,7 @@ + rev="74">
@@ -642,6 +642,35 @@ SCGI and uwsgi protocols do not have a n + +number +100 +upstream +1.15.3 + + +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. + + + + + + +timeout +60s +upstream +1.15.3 + + +Sets a timeout during which a keep-alive +connection to an upstream server will stay open. + + + + + diff --git a/xml/ru/docs/http/ngx_http_upstream_module.xml b/xml/ru/docs/http/ngx_http_upstream_module.xml --- a/xml/ru/docs/http/ngx_http_upstream_module.xml +++ b/xml/ru/docs/http/ngx_http_upstream_module.xml @@ -10,7 +10,7 @@ + rev="74">
@@ -650,6 +650,36 @@ server { + +число +100 +upstream +1.15.3 + + +Задаёт максимальное число запросов, которые можно +сделать по одному keep-alive соединению. +После того как сделано максимальное число запросов, +соединение закрывается. + + + + + + +таймаут +60s +upstream +1.15.3 + + +Задаёт таймаут, в течение которого keep-alive +соединение с сервером группы не будет закрыто. + + + + +