comparison xml/en/docs/http/ngx_http_upstream_module.xml @ 2062:7275c134ec67

Documented "no live upstreams" case for $upstream_status.
author Yaroslav Zhuravlev <yar@nginx.com>
date Wed, 18 Oct 2017 15:30:44 +0300
parents eb58ee50561d
children 014323d0cc38
comparison
equal deleted inserted replaced
2061:aac9e462320b 2062:7275c134ec67
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="63"> 13 rev="64">
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
1136 <tag-desc> 1136 <tag-desc>
1137 keeps status code of the response obtained from the upstream server. 1137 keeps status code of the response obtained from the upstream server.
1138 Status codes of several responses 1138 Status codes of several responses
1139 are separated by commas and colons like addresses in the 1139 are separated by commas and colons like addresses in the
1140 <link id="var_upstream_addr">$upstream_addr</link> variable. 1140 <link id="var_upstream_addr">$upstream_addr</link> variable.
1141 If a server cannot be selected,
1142 the variable keeps the <http-status code="502" text="Bad Gateway"/> status code.
1141 </tag-desc> 1143 </tag-desc>
1142 1144
1143 </list> 1145 </list>
1144 </para> 1146 </para>
1145 1147