Mercurial > hg > nginx-site
comparison xml/en/docs/stream/ngx_stream_core_module.xml @ 1771:6a30f04a0208
Documented the $status variable in stream.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 06 Sep 2016 15:18:58 +0300 |
parents | 061b590cbe1a |
children | 1626f1bf164c |
comparison
equal
deleted
inserted
replaced
1770:ae46e57cecba | 1771:6a30f04a0208 |
---|---|
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
8 | 8 |
9 <module name="Module ngx_stream_core_module" | 9 <module name="Module ngx_stream_core_module" |
10 link="/en/docs/stream/ngx_stream_core_module.html" | 10 link="/en/docs/stream/ngx_stream_core_module.html" |
11 lang="en" | 11 lang="en" |
12 rev="16"> | 12 rev="17"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 The <literal>ngx_stream_core_module</literal> module | 17 The <literal>ngx_stream_core_module</literal> module |
446 <tag-desc> | 446 <tag-desc> |
447 session duration in seconds with a milliseconds resolution | 447 session duration in seconds with a milliseconds resolution |
448 (1.11.4); | 448 (1.11.4); |
449 </tag-desc> | 449 </tag-desc> |
450 | 450 |
451 <tag-name id="var_status"><var>$status</var></tag-name> | |
452 <tag-desc> | |
453 session status (1.11.4), can be one of the following: | |
454 <list type="tag"> | |
455 | |
456 <tag-name><literal>200</literal></tag-name> | |
457 <tag-desc> | |
458 session completed successfully | |
459 </tag-desc> | |
460 | |
461 <tag-name><literal>403</literal></tag-name> | |
462 <tag-desc> | |
463 access forbidden, for example, when access is limited for | |
464 <link doc="ngx_stream_access_module.xml">certain client addresses</link> | |
465 </tag-desc> | |
466 | |
467 <tag-name><literal>500</literal></tag-name> | |
468 <tag-desc> | |
469 internal server error | |
470 </tag-desc> | |
471 | |
472 <tag-name><literal>502</literal></tag-name> | |
473 <tag-desc> | |
474 bad gateway, for example, | |
475 if an upstream server could not be selected or reached. | |
476 </tag-desc> | |
477 | |
478 <tag-name><literal>503</literal></tag-name> | |
479 <tag-desc> | |
480 service unavailable, for example, when access is limited by the | |
481 <link doc="ngx_stream_limit_conn_module.xml">number of connections</link> | |
482 </tag-desc> | |
483 | |
484 </list> | |
485 </tag-desc> | |
486 | |
451 <tag-name id="var_time_iso8601"><var>$time_iso8601</var></tag-name> | 487 <tag-name id="var_time_iso8601"><var>$time_iso8601</var></tag-name> |
452 <tag-desc> | 488 <tag-desc> |
453 local time in the ISO 8601 standard format | 489 local time in the ISO 8601 standard format |
454 </tag-desc> | 490 </tag-desc> |
455 | 491 |