diff 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
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_upstream_module.xml	Wed Oct 18 15:22:04 2017 +0300
+++ b/xml/en/docs/http/ngx_http_upstream_module.xml	Wed Oct 18 15:30:44 2017 +0300
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_upstream_module"
         link="/en/docs/http/ngx_http_upstream_module.html"
         lang="en"
-        rev="63">
+        rev="64">
 
 <section id="summary">
 
@@ -1138,6 +1138,8 @@
 Status codes of several responses
 are separated by commas and colons like addresses in the
 <link id="var_upstream_addr">$upstream_addr</link> variable.
+If a server cannot be selected,
+the variable keeps the <http-status code="502" text="Bad Gateway"/> status code.
 </tag-desc>
 
 </list>