Mercurial > hg > nginx-site
changeset 1268:bb647c5e4ead
Corrected the example in the stub_status module.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Wed, 06 Aug 2014 18:00:50 +0400 |
parents | cf2f93ab8df9 |
children | 77aae154bd21 |
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, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_stub_status_module.xml Wed Aug 06 14:40:20 2014 +0400 +++ b/xml/en/docs/http/ngx_http_stub_status_module.xml Wed Aug 06 18:00:50 2014 +0400 @@ -33,7 +33,7 @@ <para> <example> location /basic_status { - stub_status; + stub_status on; } </example> This configuration creates a simple web page @@ -52,8 +52,8 @@ <section id="directives" name="Directives"> <directive name="stub_status"> -<syntax/> -<default/> +<syntax><literal>on</literal> | <literal>off</literal></syntax> +<default>off</default> <context>location</context> <para>
--- a/xml/ru/docs/http/ngx_http_stub_status_module.xml Wed Aug 06 14:40:20 2014 +0400 +++ b/xml/ru/docs/http/ngx_http_stub_status_module.xml Wed Aug 06 18:00:50 2014 +0400 @@ -33,7 +33,7 @@ <para> <example> location /basic_status { - stub_status; + stub_status on; } </example> В данной конфигурации создаётся простая веб-страница @@ -52,8 +52,8 @@ <section id="directives" name="Директивы"> <directive name="stub_status"> -<syntax/> -<default/> +<syntax><literal>on</literal> | <literal>off</literal></syntax> +<default>off</default> <context>location</context> <para>