comparison xml/en/docs/stream/ngx_stream_upstream_module.xml @ 2197:03f8a9c5e8ae

Updated link in the "random" directive.
author Yaroslav Zhuravlev <yar@nginx.com>
date Mon, 02 Jul 2018 18:53:12 +0300
parents 5ad35130cc7f
children 0974dc0a6209
comparison
equal deleted inserted replaced
2196:5ad35130cc7f 2197:03f8a9c5e8ae
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
8 8
9 <module name="Module ngx_stream_upstream_module" 9 <module name="Module ngx_stream_upstream_module"
10 link="/en/docs/stream/ngx_stream_upstream_module.html" 10 link="/en/docs/stream/ngx_stream_upstream_module.html"
11 lang="en" 11 lang="en"
12 rev="29"> 12 rev="30">
13 13
14 <section id="summary"> 14 <section id="summary">
15 15
16 <para> 16 <para>
17 The <literal>ngx_stream_upstream_module</literal> module (1.9.0) 17 The <literal>ngx_stream_upstream_module</literal> module (1.9.0)
515 </para> 515 </para>
516 516
517 <para> 517 <para>
518 The optional <literal>two</literal> parameter 518 The optional <literal>two</literal> parameter
519 instructs nginx to randomly select 519 instructs nginx to randomly select
520 <link url="http://www.eecs.harvard.edu/~michaelm/postscripts/handbook2001.pdf">two</link> 520 <link url="https://homes.cs.washington.edu/~karlin/papers/balls.pdf">two</link>
521 servers and then choose a server 521 servers and then choose a server
522 using the specified <literal>method</literal>. 522 using the specified <literal>method</literal>.
523 The default method is <literal>least_conn</literal> 523 The default method is <literal>least_conn</literal>
524 which passes a connection to a server 524 which passes a connection to a server
525 with the least number of active connections. 525 with the least number of active connections.