comparison xml/en/docs/http/ngx_http_upstream_module.xml @ 1186:8125bec5c7a1

Upstream: documented the $upstream_cookie_* variables.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 29 Apr 2014 19:27:51 +0400
parents b8f0362f61e5
children 9264fdb6c833
comparison
equal deleted inserted replaced
1185:f9c8336fe43c 1186:8125bec5c7a1
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="21"> 13 rev="22">
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
1193 “<literal>BYPASS</literal>”, “<literal>EXPIRED</literal>”, 1193 “<literal>BYPASS</literal>”, “<literal>EXPIRED</literal>”,
1194 “<literal>STALE</literal>”, “<literal>UPDATING</literal>”, 1194 “<literal>STALE</literal>”, “<literal>UPDATING</literal>”,
1195 “<literal>REVALIDATED</literal>” or “<literal>HIT</literal>”. 1195 “<literal>REVALIDATED</literal>” or “<literal>HIT</literal>”.
1196 </tag-desc> 1196 </tag-desc>
1197 1197
1198 <tag-name id="var_upstream_cookie_"><var>$upstream_cookie_</var><value>name</value>
1199 </tag-name>
1200 <tag-desc>
1201 cookie with the specified <value>name</value> sent by the upstream server
1202 in the <header>Set-Cookie</header> response header field (1.7.1).
1203 Only the last server’s response header fields are saved.
1204 </tag-desc>
1205
1198 <tag-name id="var_upstream_response_length"><var>$upstream_response_length</var> 1206 <tag-name id="var_upstream_response_length"><var>$upstream_response_length</var>
1199 </tag-name> 1207 </tag-name>
1200 <tag-desc> 1208 <tag-desc>
1201 keeps the lengths of responses obtained from the upstream servers (0.7.27); 1209 keeps the lengths of responses obtained from the upstream servers (0.7.27);
1202 lengths are kept in bytes. 1210 lengths are kept in bytes.
1218 keeps codes of responses obtained from upstream servers. 1226 keeps codes of responses obtained from upstream servers.
1219 Several response codes are separated by commas and colons 1227 Several response codes are separated by commas and colons
1220 like addresses in the <var>$upstream_addr</var> variable. 1228 like addresses in the <var>$upstream_addr</var> variable.
1221 </tag-desc> 1229 </tag-desc>
1222 1230
1223 <tag-name id="var_upstream_http_"><var>$upstream_http_...</var></tag-name> 1231 <tag-name id="var_upstream_http_"><var>$upstream_http_</var><value>name</value></tag-name>
1224 <tag-desc> 1232 <tag-desc>
1225 keep server response header fields. 1233 keep server response header fields.
1226 For example, the <header>Server</header> response header field 1234 For example, the <header>Server</header> response header field
1227 is available through the <var>$upstream_http_server</var> variable. 1235 is available through the <var>$upstream_http_server</var> variable.
1228 The rules of converting header field names to variable names are the same 1236 The rules of converting header field names to variable names are the same