Rewrite problem

Igor Sysoev igor at sysoev.ru
Thu Sep 16 21:22:01 MSD 2010


On Thu, Sep 16, 2010 at 12:37:01PM -0400, st1905 wrote:

> Hello,
> 
> location ~ /admin/
> 
> Above matches every admin folder on the domain but i just want to match
> "/admin" on the url like http://domain.com/admin 
> 
> Tried this location = /admin/
> 
> But that did not work. I`m suing this location to password protect.

location = /admin


-- 
Igor Sysoev
http://sysoev.ru/en/



More information about the nginx mailing list