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	Thu Apr 13 15:09:13 2017 +0300
+++ b/xml/en/docs/http/ngx_http_rewrite_module.xml	Mon Apr 17 19:29:14 2017 +0300
@@ -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 @@
 
 <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 @@
 <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>