Mercurial > hg > nginx-site
changeset 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 | eff8f05b18ec |
files | xml/en/docs/http/ngx_http_stub_status_module.xml xml/ru/docs/http/ngx_http_stub_status_module.xml |
diffstat | 2 files changed, 24 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_stub_status_module.xml Mon Aug 18 12:27:33 2014 +0400 +++ b/xml/en/docs/http/ngx_http_stub_status_module.xml Tue Aug 26 17:37:03 2014 +0400 @@ -10,7 +10,7 @@ <module name="Module ngx_http_stub_status_module" link="/en/docs/http/ngx_http_stub_status_module.html" lang="en" - rev="1"> + rev="2"> <section id="summary"> @@ -33,7 +33,7 @@ <para> <example> location /basic_status { - stub_status on; + stub_status; } </example> This configuration creates a simple web page @@ -52,14 +52,22 @@ <section id="directives" name="Directives"> <directive name="stub_status"> -<syntax><literal>on</literal> | <literal>off</literal></syntax> -<default>off</default> +<syntax/> +<default/> +<context>server</context> <context>location</context> <para> The basic status information will be accessible from the surrounding location. </para> +<para> +<note> +In versions prior to 1.7.5, +the directive required an arbitrary argument. +</note> +</para> + </directive> </section>
--- a/xml/ru/docs/http/ngx_http_stub_status_module.xml Mon Aug 18 12:27:33 2014 +0400 +++ b/xml/ru/docs/http/ngx_http_stub_status_module.xml Tue Aug 26 17:37:03 2014 +0400 @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_stub_status_module" link="/ru/docs/http/ngx_http_stub_status_module.html" lang="ru" - rev="1"> + rev="2"> <section id="summary"> @@ -33,7 +33,7 @@ <para> <example> location /basic_status { - stub_status on; + stub_status; } </example> В данной конфигурации создаётся простая веб-страница @@ -52,14 +52,22 @@ <section id="directives" name="Директивы"> <directive name="stub_status"> -<syntax><literal>on</literal> | <literal>off</literal></syntax> -<default>off</default> +<syntax/> +<default/> +<context>server</context> <context>location</context> <para> Информация о состоянии будет доступна из данного location. </para> +<para> +<note> +До версии 1.7.5 +директива требовала наличия произвольного аргумента. +</note> +</para> + </directive> </section>