map v/s rewrite performance

rahul286 nginx-forum at nginx.us
Tue Mar 25 08:43:15 UTC 2014


Igor Sysoev Wrote:
-------------------------------------------------------
> location = old-url-1 { return 301 new-url-1; }

Bingo! Never thought of this. :-)

We will use this for https://github.com/rtCamp/easyengine/issues/162

Thanks a lot. :-)

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,248659,248663#msg-248663



More information about the nginx mailing list