Mercurial > hg > nginx-site
comparison xml/ru/docs/http/ngx_http_stub_status_module.xml @ 1275:c9b202d6c426
Documented the new syntax of the "stub_status" directive.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 26 Aug 2014 17:37:03 +0400 |
parents | 794717949a83 |
children | dd190baef1e7 |
comparison
equal
deleted
inserted
replaced
1274:794717949a83 | 1275:c9b202d6c426 |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Модуль ngx_http_stub_status_module" | 10 <module name="Модуль ngx_http_stub_status_module" |
11 link="/ru/docs/http/ngx_http_stub_status_module.html" | 11 link="/ru/docs/http/ngx_http_stub_status_module.html" |
12 lang="ru" | 12 lang="ru" |
13 rev="1"> | 13 rev="2"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 Модуль <literal>ngx_http_stub_status_module</literal> предоставляет | 18 Модуль <literal>ngx_http_stub_status_module</literal> предоставляет |
31 <section id="example" name="Пример конфигурации"> | 31 <section id="example" name="Пример конфигурации"> |
32 | 32 |
33 <para> | 33 <para> |
34 <example> | 34 <example> |
35 location /basic_status { | 35 location /basic_status { |
36 stub_status on; | 36 stub_status; |
37 } | 37 } |
38 </example> | 38 </example> |
39 В данной конфигурации создаётся простая веб-страница | 39 В данной конфигурации создаётся простая веб-страница |
40 с основной информацией о состоянии, которая может выглядеть следующим образом: | 40 с основной информацией о состоянии, которая может выглядеть следующим образом: |
41 <example> | 41 <example> |
50 | 50 |
51 | 51 |
52 <section id="directives" name="Директивы"> | 52 <section id="directives" name="Директивы"> |
53 | 53 |
54 <directive name="stub_status"> | 54 <directive name="stub_status"> |
55 <syntax><literal>on</literal> | <literal>off</literal></syntax> | 55 <syntax/> |
56 <default>off</default> | 56 <default/> |
57 <context>server</context> | |
57 <context>location</context> | 58 <context>location</context> |
58 | 59 |
59 <para> | 60 <para> |
60 Информация о состоянии будет доступна из данного location. | 61 Информация о состоянии будет доступна из данного location. |
62 </para> | |
63 | |
64 <para> | |
65 <note> | |
66 До версии 1.7.5 | |
67 директива требовала наличия произвольного аргумента. | |
68 </note> | |
61 </para> | 69 </para> |
62 | 70 |
63 </directive> | 71 </directive> |
64 | 72 |
65 </section> | 73 </section> |