comparison 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
comparison
equal deleted inserted replaced
1267:cf2f93ab8df9 1268:bb647c5e4ead
31 <section id="example" name="Example Configuration"> 31 <section id="example" name="Example Configuration">
32 32
33 <para> 33 <para>
34 <example> 34 <example>
35 location /basic_status { 35 location /basic_status {
36 stub_status; 36 stub_status on;
37 } 37 }
38 </example> 38 </example>
39 This configuration creates a simple web page 39 This configuration creates a simple web page
40 with basic status data which may look like as follows: 40 with basic status data which may look like as follows:
41 <example> 41 <example>
50 50
51 51
52 <section id="directives" name="Directives"> 52 <section id="directives" name="Directives">
53 53
54 <directive name="stub_status"> 54 <directive name="stub_status">
55 <syntax/> 55 <syntax><literal>on</literal> | <literal>off</literal></syntax>
56 <default/> 56 <default>off</default>
57 <context>location</context> 57 <context>location</context>
58 58
59 <para> 59 <para>
60 The basic status information will be accessible from the surrounding location. 60 The basic status information will be accessible from the surrounding location.
61 </para> 61 </para>