diff 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
line wrap: on
line diff
--- 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>