# HG changeset patch # User Yaroslav Zhuravlev # Date 1508329844 -10800 # Node ID 7275c134ec6713726aa376bfdfb3d2d53fef0d0c # Parent aac9e462320b25b3af288b2b2becfd82386ae18c Documented "no live upstreams" case for $upstream_status. diff --git a/xml/en/docs/http/ngx_http_upstream_module.xml b/xml/en/docs/http/ngx_http_upstream_module.xml --- a/xml/en/docs/http/ngx_http_upstream_module.xml +++ b/xml/en/docs/http/ngx_http_upstream_module.xml @@ -10,7 +10,7 @@ + rev="64">
@@ -1138,6 +1138,8 @@ keeps status code of the response obtain Status codes of several responses are separated by commas and colons like addresses in the $upstream_addr variable. +If a server cannot be selected, +the variable keeps the status code. diff --git a/xml/ru/docs/http/ngx_http_upstream_module.xml b/xml/ru/docs/http/ngx_http_upstream_module.xml --- a/xml/ru/docs/http/ngx_http_upstream_module.xml +++ b/xml/ru/docs/http/ngx_http_upstream_module.xml @@ -10,7 +10,7 @@ + rev="64">
@@ -1145,6 +1145,8 @@ upstream backend { Статусы нескольких ответов разделяются запятыми и двоеточиями подобно адресам в переменной $upstream_addr. +Если сервер не может быть выбран, то +переменная хранит статус .