diff xml/en/docs/http/ngx_http_stub_status_module.xml @ 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 6e34b5716bdb
children 794717949a83
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>