Welcome! Log In Create A New Profile


goto @location | rewrite /a/ /b/ @location

Posted by thielj 
goto @location | rewrite /a/ /b/ @location
February 05, 2015 09:37AM

it would be great to have an alias

goto @location;

instead of the cryptic (and overriding all inherited error_pages):

error_page 555 = @location; return 555;

Similar, allowing a @location as flag parameter for the rewrite directive would simplify configuration:

rewrite /a/ /b/ @location

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 308
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready