diff xml/en/docs/http/ngx_http_addition_module.xml @ 685:3f43a59a1dba

Documented possible contexts and inheritance details in the addition module.
author Vladimir Homutov <vl@nginx.com>
date Tue, 18 Sep 2012 08:44:46 +0000
parents 764fbac1b8b4
children c0daabbd8c21
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_addition_module.xml	Tue Sep 18 08:39:31 2012 +0000
+++ b/xml/en/docs/http/ngx_http_addition_module.xml	Tue Sep 18 08:44:46 2012 +0000
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_addition_module"
         link="/en/docs/http/ngx_http_addition_module.html"
         lang="en"
-        rev="1">
+        rev="2">
 
 <section id="summary">
 
@@ -43,12 +43,16 @@
 
 <directive name="add_before_body">
 <syntax><value>uri</value></syntax>
-<default/>
+<default>""</default>
+<context>http</context>
+<context>server</context>
 <context>location</context>
 
 <para>
 Adds a text returned as a result of processing a given subrequest,
 before the response body.
+The <literal>""</literal> parameter disables addition inherited from
+the previous configuration level.
 </para>
 
 </directive>
@@ -56,12 +60,16 @@
 
 <directive name="add_after_body">
 <syntax><value>uri</value></syntax>
-<default/>
+<default>""</default>
+<context>http</context>
+<context>server</context>
 <context>location</context>
 
 <para>
 Adds a text returned as a result of processing a given subrequest,
 after the response body.
+The <literal>""</literal> parameter disables addition inherited from
+the previous configuration level.
 </para>
 
 </directive>