comparison xml/en/docs/http/ngx_http_headers_module.xml @ 2593:eeed494bba51

Unified phrases about configuration levels and inheritance.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 21 Sep 2020 15:45:07 +0300
parents 375a3dfde23b
children
comparison
equal deleted inserted replaced
2592:fca42223b9fc 2593:eeed494bba51
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="12"> 13 rev="13">
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
60 Parameter value can contain variables. 60 Parameter value can contain variables.
61 </para> 61 </para>
62 62
63 <para> 63 <para>
64 There could be several <literal>add_header</literal> directives. 64 There could be several <literal>add_header</literal> directives.
65 These directives are inherited from the previous level if and 65 These directives are inherited from the previous configuration level
66 only if there are no 66 if and only if there are no <literal>add_header</literal> directives
67 <literal>add_header</literal> 67 defined on the current level.
68 directives defined on the current level.
69 </para> 68 </para>
70 69
71 <para> 70 <para>
72 If the <literal>always</literal> parameter is specified (1.7.5), 71 If the <literal>always</literal> parameter is specified (1.7.5),
73 the header field will be added regardless of the response code. 72 the header field will be added regardless of the response code.
93 Parameter value can contain variables. 92 Parameter value can contain variables.
94 </para> 93 </para>
95 94
96 <para> 95 <para>
97 There could be several <literal>add_trailer</literal> directives. 96 There could be several <literal>add_trailer</literal> directives.
98 These directives are inherited from the previous level if and 97 These directives are inherited from the previous configuration level
99 only if there are no 98 if and only if there are no <literal>add_trailer</literal> directives
100 <literal>add_trailer</literal> 99 defined on the current level.
101 directives defined on the current level.
102 </para> 100 </para>
103 101
104 <para> 102 <para>
105 If the <literal>always</literal> parameter is specified 103 If the <literal>always</literal> parameter is specified
106 the specified field will be added regardless of the response code. 104 the specified field will be added regardless of the response code.