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: 112
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready