comparison xml/en/docs/http/ngx_http_headers_module.xml @ 686:f368bff5c70a

Documented missing contexts in the http_headers module.
author Vladimir Homutov <vl@nginx.com>
date Tue, 18 Sep 2012 08:46:43 +0000
parents 764fbac1b8b4
children 3974a50b2142
comparison
equal deleted inserted replaced
685:3f43a59a1dba 686:f368bff5c70a
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="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_headers_module</literal> module allows to emit 18 The <literal>ngx_http_headers_module</literal> module allows to emit
46 <syntax><value>name</value> <value>value</value></syntax> 46 <syntax><value>name</value> <value>value</value></syntax>
47 <default/> 47 <default/>
48 <context>http</context> 48 <context>http</context>
49 <context>server</context> 49 <context>server</context>
50 <context>location</context> 50 <context>location</context>
51 <context>if in location</context>
51 52
52 <para> 53 <para>
53 Adds the specified field to a response header provided that 54 Adds the specified field to a response header provided that
54 the response code equals 200, 204, 206, 301, 302, 303, 304, or 307. 55 the response code equals 200, 204, 206, 301, 302, 303, 304, or 307.
55 A value can contain variables. 56 A value can contain variables.
66 <literal>off</literal></syntax> 67 <literal>off</literal></syntax>
67 <default>off</default> 68 <default>off</default>
68 <context>http</context> 69 <context>http</context>
69 <context>server</context> 70 <context>server</context>
70 <context>location</context> 71 <context>location</context>
72 <context>if in location</context>
71 73
72 <para> 74 <para>
73 Enables or disables adding or modifying the <header>Expires</header> 75 Enables or disables adding or modifying the <header>Expires</header>
74 and <header>Cache-Control</header> response header fields. 76 and <header>Cache-Control</header> response header fields.
75 A parameter can be a positive or negative 77 A parameter can be a positive or negative