Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_headers_module.xml @ 1060:b841fbb8c577
Clarified add_header inheritance.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 05 Feb 2014 18:30:15 +0400 |
parents | 95c3c3bbf1ce |
children | d7740f42b00a |
comparison
equal
deleted
inserted
replaced
1059:76debe31d417 | 1060:b841fbb8c577 |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_headers_module" | 10 <module name="Module ngx_http_headers_module" |
11 link="/en/docs/http/ngx_http_headers_module.html" | 11 link="/en/docs/http/ngx_http_headers_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="4"> | 13 rev="5"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_headers_module</literal> module allows adding | 18 The <literal>ngx_http_headers_module</literal> module allows adding |
52 | 52 |
53 <para> | 53 <para> |
54 Adds the specified field to a response header provided that | 54 Adds the specified field to a response header provided that |
55 the response code equals 200, 201, 204, 206, 301, 302, 303, 304, or 307. | 55 the response code equals 200, 201, 204, 206, 301, 302, 303, 304, or 307. |
56 A value can contain variables. | 56 A value can contain variables. |
57 </para> | |
58 | |
59 <para> | |
60 There could be several <literal>add_header</literal> directives. | |
61 These directives are inherited from the previous level if and | |
62 only if there are no | |
63 <literal>add_header</literal> | |
64 directives defined on the current level. | |
57 </para> | 65 </para> |
58 | 66 |
59 </directive> | 67 </directive> |
60 | 68 |
61 | 69 |