comparison 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
comparison
equal deleted inserted replaced
2222:0974dc0a6209 2223:a692df6ef304
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_http_upstream_module" 10 <module name="Module ngx_http_upstream_module"
11 link="/en/docs/http/ngx_http_upstream_module.html" 11 link="/en/docs/http/ngx_http_upstream_module.html"
12 lang="en" 12 lang="en"
13 rev="73"> 13 rev="74">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_upstream_module</literal> module 18 The <literal>ngx_http_upstream_module</literal> module
635 </note> 635 </note>
636 636
637 <note> 637 <note>
638 SCGI and uwsgi protocols do not have a notion of keepalive connections. 638 SCGI and uwsgi protocols do not have a notion of keepalive connections.
639 </note> 639 </note>
640 </para>
641
642 </directive>
643
644
645 <directive name="keepalive_requests">
646 <syntax><value>number</value></syntax>
647 <default>100</default>
648 <context>upstream</context>
649 <appeared-in>1.15.3</appeared-in>
650
651 <para>
652 Sets the maximum number of requests that can be
653 served through one keep-alive connection.
654 After the maximum number of requests is made, the connection is closed.
655 </para>
656
657 </directive>
658
659
660 <directive name="keepalive_timeout">
661 <syntax><value>timeout</value></syntax>
662 <default>60s</default>
663 <context>upstream</context>
664 <appeared-in>1.15.3</appeared-in>
665
666 <para>
667 Sets a timeout during which a keep-alive
668 connection to an upstream server will stay open.
640 </para> 669 </para>
641 670
642 </directive> 671 </directive>
643 672
644 673