comparison xml/en/docs/http/ngx_http_upstream_module.xml @ 2610:fdfe54a01ea1

Relocated note in keepalive directive.
author Yaroslav Zhuravlev <yar@nginx.com>
date Fri, 16 Oct 2020 13:31:34 +0100
parents 504536999408
children 52500ccb82c1
comparison
equal deleted inserted replaced
2609:99bd2ae8d2be 2610:fdfe54a01ea1
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="84"> 13 rev="85">
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
541 does not limit the total number of connections to upstream servers 541 does not limit the total number of connections to upstream servers
542 that an nginx worker process can open. 542 that an nginx worker process can open.
543 The <value>connections</value> parameter should be set to a number small enough 543 The <value>connections</value> parameter should be set to a number small enough
544 to let upstream servers process new incoming connections as well. 544 to let upstream servers process new incoming connections as well.
545 </note> 545 </note>
546
547 <note>
548 When using load balancing methods other than the default
549 round-robin method, it is necessary to activate them before
550 the <literal>keepalive</literal> directive.
551 </note>
546 </para> 552 </para>
547 553
548 <para> 554 <para>
549 Example configuration of memcached upstream with keepalive connections: 555 Example configuration of memcached upstream with keepalive connections:
550 <example> 556 <example>
621 } 627 }
622 </example> 628 </example>
623 </para> 629 </para>
624 630
625 <para> 631 <para>
626 <note>
627 When using load balancer methods other than the default
628 round-robin method, it is necessary to activate them before
629 the <literal>keepalive</literal> directive.
630 </note>
631
632 <note> 632 <note>
633 SCGI and uwsgi protocols do not have a notion of keepalive connections. 633 SCGI and uwsgi protocols do not have a notion of keepalive connections.
634 </note> 634 </note>
635 </para> 635 </para>
636 636