Welcome! Log In Create A New Profile

Advanced

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

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

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

Cheers!
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 182
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready