# HG changeset patch # User Ruslan Ermilov # Date 1421670228 -10800 # Node ID 82e62822abe8b42d27866bffb903e14247c61687 # Parent 0702cc081c634101f5061d2558f01cb1dd33da1a Sorted upstream module variables. 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="32">
@@ -1317,6 +1317,17 @@ in the
Set-Cookie
respo Only the cookies from the response of the last server are saved. +$upstream_http_name + +keep server response header fields. +For example, the
Server
response header field +is available through the $upstream_http_server variable. +The rules of converting header field names to variable names are the same +as for the variables that start with the +“$http_” prefix. +Only the header fields from the response of the last server are saved. +
+ $upstream_response_length @@ -1345,17 +1356,6 @@ are separated by commas and colons like $upstream_addr variable. -$upstream_http_name - -keep server response header fields. -For example, the
Server
response header field -is available through the $upstream_http_server variable. -The rules of converting header field names to variable names are the same -as for the variables that start with the -“$http_” prefix. -Only the header fields from the response of the last server are saved. -
- 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="32">
@@ -1330,6 +1330,18 @@ http://127.0.0.1/upstream_conf?upstream= последнего сервера. +$upstream_http_имя + +хранят поля заголовка ответа сервера. +Например, поле заголовка ответа
Server
+доступно в переменной $upstream_http_server. +Правила преобразования имён полей заголовка ответа в имена переменных +такие же, как для переменных с префиксом +“$http_”. +Необходимо иметь в виду, что поля заголовка запоминаются только из ответа +последнего сервера. +
+ $upstream_response_length @@ -1358,18 +1370,6 @@ http://127.0.0.1/upstream_conf?upstream= $upstream_addr. -$upstream_http_имя - -хранят поля заголовка ответа сервера. -Например, поле заголовка ответа
Server
-доступно в переменной $upstream_http_server. -Правила преобразования имён полей заголовка ответа в имена переменных -такие же, как для переменных с префиксом -“$http_”. -Необходимо иметь в виду, что поля заголовка запоминаются только из ответа -последнего сервера. -
-