Opened 4 years ago

Closed 2 years ago

#877 closed enhancement (fixed)

Support HTTP 308 in return and error_page directives

Reported by: sedcmail@… 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 Changed 2 years ago by Simon Leblanc <contact@…>

In 6977:be5cfa918bfc/nginx:

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

comment:2 Changed 2 years ago by mdounin

  • Resolution set to fixed
  • Status changed from new to closed

Patch committed, thanks.

Note: See TracTickets for help on using tickets.