Mercurial > hg > nginx-site
comparison 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 |
comparison
equal
deleted
inserted
replaced
684:2ff9c3ea8c98 | 685:3f43a59a1dba |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_addition_module" | 10 <module name="Module ngx_http_addition_module" |
11 link="/en/docs/http/ngx_http_addition_module.html" | 11 link="/en/docs/http/ngx_http_addition_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="1"> | 13 rev="2"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_addition_module</literal> module is a filter | 18 The <literal>ngx_http_addition_module</literal> module is a filter |
41 | 41 |
42 <section id="directives" name="Directives"> | 42 <section id="directives" name="Directives"> |
43 | 43 |
44 <directive name="add_before_body"> | 44 <directive name="add_before_body"> |
45 <syntax><value>uri</value></syntax> | 45 <syntax><value>uri</value></syntax> |
46 <default/> | 46 <default>""</default> |
47 <context>http</context> | |
48 <context>server</context> | |
47 <context>location</context> | 49 <context>location</context> |
48 | 50 |
49 <para> | 51 <para> |
50 Adds a text returned as a result of processing a given subrequest, | 52 Adds a text returned as a result of processing a given subrequest, |
51 before the response body. | 53 before the response body. |
54 The <literal>""</literal> parameter disables addition inherited from | |
55 the previous configuration level. | |
52 </para> | 56 </para> |
53 | 57 |
54 </directive> | 58 </directive> |
55 | 59 |
56 | 60 |
57 <directive name="add_after_body"> | 61 <directive name="add_after_body"> |
58 <syntax><value>uri</value></syntax> | 62 <syntax><value>uri</value></syntax> |
59 <default/> | 63 <default>""</default> |
64 <context>http</context> | |
65 <context>server</context> | |
60 <context>location</context> | 66 <context>location</context> |
61 | 67 |
62 <para> | 68 <para> |
63 Adds a text returned as a result of processing a given subrequest, | 69 Adds a text returned as a result of processing a given subrequest, |
64 after the response body. | 70 after the response body. |
71 The <literal>""</literal> parameter disables addition inherited from | |
72 the previous configuration level. | |
65 </para> | 73 </para> |
66 | 74 |
67 </directive> | 75 </directive> |
68 | 76 |
69 | 77 |