comparison xml/en/docs/http/ngx_http_upstream_module.xml @ 1392:82e62822abe8

Sorted upstream module variables.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 19 Jan 2015 15:23:48 +0300
parents 0702cc081c63
children 15e8779f0ceb
comparison
equal deleted inserted replaced
1391:0702cc081c63 1392:82e62822abe8
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="31"> 13 rev="32">
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
1315 cookie with the specified <value>name</value> sent by the upstream server 1315 cookie with the specified <value>name</value> sent by the upstream server
1316 in the <header>Set-Cookie</header> response header field (1.7.1). 1316 in the <header>Set-Cookie</header> response header field (1.7.1).
1317 Only the cookies from the response of the last server are saved. 1317 Only the cookies from the response of the last server are saved.
1318 </tag-desc> 1318 </tag-desc>
1319 1319
1320 <tag-name id="var_upstream_response_length"><var>$upstream_response_length</var>
1321 </tag-name>
1322 <tag-desc>
1323 keeps the length of the response obtained from the upstream server (0.7.27);
1324 the length is kept in bytes.
1325 Lengths of several responses
1326 are separated by commas and colons like addresses in the
1327 <link id="var_upstream_addr">$upstream_addr</link> variable.
1328 </tag-desc>
1329
1330 <tag-name id="var_upstream_response_time"><var>$upstream_response_time</var>
1331 </tag-name>
1332 <tag-desc>
1333 keeps time spent on receiving the response from the upstream server;
1334 the time is kept in seconds with millisecond resolution.
1335 Times of several responses
1336 are separated by commas and colons like addresses in the
1337 <link id="var_upstream_addr">$upstream_addr</link> variable.
1338 </tag-desc>
1339
1340 <tag-name id="var_upstream_status"><var>$upstream_status</var></tag-name>
1341 <tag-desc>
1342 keeps status code of the response obtained from the upstream server.
1343 Status codes of several responses
1344 are separated by commas and colons like addresses in the
1345 <link id="var_upstream_addr">$upstream_addr</link> variable.
1346 </tag-desc>
1347
1348 <tag-name id="var_upstream_http_"><var>$upstream_http_</var><value>name</value></tag-name> 1320 <tag-name id="var_upstream_http_"><var>$upstream_http_</var><value>name</value></tag-name>
1349 <tag-desc> 1321 <tag-desc>
1350 keep server response header fields. 1322 keep server response header fields.
1351 For example, the <header>Server</header> response header field 1323 For example, the <header>Server</header> response header field
1352 is available through the <var>$upstream_http_server</var> variable. 1324 is available through the <var>$upstream_http_server</var> variable.
1354 as for the variables that start with the 1326 as for the variables that start with the
1355 “<link doc="ngx_http_core_module.xml" id="var_http_">$http_</link>” prefix. 1327 “<link doc="ngx_http_core_module.xml" id="var_http_">$http_</link>” prefix.
1356 Only the header fields from the response of the last server are saved. 1328 Only the header fields from the response of the last server are saved.
1357 </tag-desc> 1329 </tag-desc>
1358 1330
1331 <tag-name id="var_upstream_response_length"><var>$upstream_response_length</var>
1332 </tag-name>
1333 <tag-desc>
1334 keeps the length of the response obtained from the upstream server (0.7.27);
1335 the length is kept in bytes.
1336 Lengths of several responses
1337 are separated by commas and colons like addresses in the
1338 <link id="var_upstream_addr">$upstream_addr</link> variable.
1339 </tag-desc>
1340
1341 <tag-name id="var_upstream_response_time"><var>$upstream_response_time</var>
1342 </tag-name>
1343 <tag-desc>
1344 keeps time spent on receiving the response from the upstream server;
1345 the time is kept in seconds with millisecond resolution.
1346 Times of several responses
1347 are separated by commas and colons like addresses in the
1348 <link id="var_upstream_addr">$upstream_addr</link> variable.
1349 </tag-desc>
1350
1351 <tag-name id="var_upstream_status"><var>$upstream_status</var></tag-name>
1352 <tag-desc>
1353 keeps status code of the response obtained from the upstream server.
1354 Status codes of several responses
1355 are separated by commas and colons like addresses in the
1356 <link id="var_upstream_addr">$upstream_addr</link> variable.
1357 </tag-desc>
1358
1359 </list> 1359 </list>
1360 </para> 1360 </para>
1361 1361
1362 </section> 1362 </section>
1363 1363