diff xml/en/docs/http/ngx_http_rewrite_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 2f851f71ff08
children dd78dd9e2cb7
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_rewrite_module.xml
+++ b/xml/en/docs/http/ngx_http_rewrite_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_rewrite_module"
         link="/en/docs/http/ngx_http_rewrite_module.html"
         lang="en"
-        rev="7">
+        rev="8">
 
 <section id="summary">
 
@@ -212,7 +212,7 @@ a response header.
 
 <para>
 Starting from version 0.8.42, it is possible to specify
-either a redirect URL (for codes 301, 302, 303, and 307),
+either a redirect URL (for codes 301, 302, 303, 307, and 308)
 or the response body <value>text</value> (for other codes).
 A response body text and redirect URL can contain variables.
 As a special case, a redirect URL can be specified as a URI
@@ -239,6 +239,10 @@ 204, 400, 402 — 406, 408, 410, 411, 413, 416, and 500 — 504.
 <note>
 The code 307 was not treated as a redirect until versions 1.1.16 and 1.0.13.
 </note>
+
+<note>
+The code 308 was not treated as a redirect until version 1.13.0.
+</note>
 </para>
 
 <para>