Re: Simple URI redirection / alias in Nginx…

Igor Sysoev igor at sysoev.ru
Tue May 31 06:11:06 MSD 2011


On Mon, May 30, 2011 at 07:03:17PM -0400, atipico wrote:
> Thank you Igor. 
> 
> So what is the difference among doing what you told and this?
> rewrite ^/adm$ /wp/wp-login.php;

Configuration maintenance. If you will not use rewrites and regex locations,
then you can easy change large configuration.

> Isn't it the case of usind the "alias"?

"alias" is for static files, but not scripts.


-- 
Igor Sysoev



More information about the nginx mailing list