Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_core_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 | 408eed0bf491 |
children | be779702663e |
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_core_module" | 10 <module name="Module ngx_http_core_module" |
11 link="/en/docs/http/ngx_http_core_module.html" | 11 link="/en/docs/http/ngx_http_core_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="70"> | 13 rev="71"> |
14 | 14 |
15 <section id="directives" name="Directives"> | 15 <section id="directives" name="Directives"> |
16 | 16 |
17 <directive name="absolute_redirect"> | 17 <directive name="absolute_redirect"> |
18 <syntax><literal>on</literal> | <literal>off</literal></syntax> | 18 <syntax><literal>on</literal> | <literal>off</literal></syntax> |
695 error_page 403 http://example.com/forbidden.html; | 695 error_page 403 http://example.com/forbidden.html; |
696 error_page 404 =301 http://example.com/notfound.html; | 696 error_page 404 =301 http://example.com/notfound.html; |
697 </example> | 697 </example> |
698 In this case, by default, the response code 302 is returned to the client. | 698 In this case, by default, the response code 302 is returned to the client. |
699 It can only be changed to one of the redirect status | 699 It can only be changed to one of the redirect status |
700 codes (301, 302, 303, and 307). | 700 codes (301, 302, 303, 307, and 308). |
701 </para> | 701 </para> |
702 | 702 |
703 <para> | 703 <para> |
704 These directives are inherited from the previous level if and | 704 These directives are inherited from the previous level if and |
705 only if there are no | 705 only if there are no |