Opened 8 years ago

Closed 7 years ago

#877 closed enhancement (fixed)

Support HTTP 308 in return and error_page directives

Reported by: gibsonton Owned by:
Priority: minor Milestone:
Component: nginx-core Version: 1.9.x
Keywords: Cc:
uname -a:
nginx -V: nginx version: nginx/1.9.9

Description

HTTP 307 (Temporary Redirect) has been supported in "return" and "error_page" directives since 1.1.16. It would be nice to see the same support for HTTP 308 (Permanent Redirect) in the same directives as per RFC 7538.

Change History (2)

comment:1 by Simon Leblanc <contact@…>, 7 years ago

In 6977:be5cfa918bfc/nginx:

Added support for the "308 Permanent Redirect" (ticket #877).

comment:2 by Maxim Dounin, 7 years ago

Resolution: fixed
Status: newclosed

Patch committed, thanks.

Note: See TracTickets for help on using tickets.