Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_headers_module.xml @ 1964:2a3c58dcb3e8
Documented support for the 308 Permanent Redirect.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Mon, 17 Apr 2017 19:29:14 +0300 |
parents | 4b6d7686e00f |
children | 1ece24f10f2a |
comparison
equal
deleted
inserted
replaced
1963:351cefd5ff9c | 1964:2a3c58dcb3e8 |
---|---|
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="7"> | 13 rev="8"> |
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 |
53 <context>location</context> | 53 <context>location</context> |
54 <context>if in location</context> | 54 <context>if in location</context> |
55 | 55 |
56 <para> | 56 <para> |
57 Adds the specified field to a response header provided that | 57 Adds the specified field to a response header provided that |
58 the response code equals 200, 201, 204, 206, 301, 302, 303, 304, or 307. | 58 the response code equals 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308. |
59 A value can contain variables. | 59 A value can contain variables. |
60 </para> | 60 </para> |
61 | 61 |
62 <para> | 62 <para> |
63 There could be several <literal>add_header</literal> directives. | 63 There could be several <literal>add_header</literal> directives. |
88 <context>if in location</context> | 88 <context>if in location</context> |
89 | 89 |
90 <para> | 90 <para> |
91 Enables or disables adding or modifying the <header>Expires</header> | 91 Enables or disables adding or modifying the <header>Expires</header> |
92 and <header>Cache-Control</header> response header fields provided that | 92 and <header>Cache-Control</header> response header fields provided that |
93 the response code equals 200, 201, 204, 206, 301, 302, 303, 304, or 307. | 93 the response code equals 200, 201, 204, 206, 301, 302, 303, 304, 307, or 308. |
94 The parameter can be a positive or negative | 94 The parameter can be a positive or negative |
95 <link doc="../syntax.xml">time</link>. | 95 <link doc="../syntax.xml">time</link>. |
96 </para> | 96 </para> |
97 | 97 |
98 <para> | 98 <para> |