comparison xml/en/docs/stream/ngx_stream_upstream_module.xml @ 2058:eb58ee50561d

Documented upstream name in $upstream_addr.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 10 Oct 2017 15:34:03 +0300
parents 6b6d0e844bf7
children 27c53e1cb4b6
comparison
equal deleted inserted replaced
2057:dd78dd9e2cb7 2058:eb58ee50561d
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="25"> 12 rev="26">
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)
507 keeps the IP address and port, 507 keeps the IP address and port,
508 or the path to the UNIX-domain socket of the upstream server (1.11.4). 508 or the path to the UNIX-domain socket of the upstream server (1.11.4).
509 If several servers were contacted during proxying, 509 If several servers were contacted during proxying,
510 their addresses are separated by commas, e.g. 510 their addresses are separated by commas, e.g.
511 “<literal>192.168.1.1:12345, 192.168.1.2:12345, unix:/tmp/sock</literal>”. 511 “<literal>192.168.1.1:12345, 192.168.1.2:12345, unix:/tmp/sock</literal>”.
512 If a server cannot be selected,
513 the variable keeps the name of the server group.
512 </tag-desc> 514 </tag-desc>
513 515
514 <tag-name id="var_upstream_bytes_sent"><var>$upstream_bytes_sent</var></tag-name> 516 <tag-name id="var_upstream_bytes_sent"><var>$upstream_bytes_sent</var></tag-name>
515 <tag-desc> 517 <tag-desc>
516 number of bytes sent to an upstream server (1.11.4). 518 number of bytes sent to an upstream server (1.11.4).