Rewrite problem

st1905 nginx-forum at nginx.us
Thu Sep 16 20:37:01 MSD 2010


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.

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




More information about the nginx mailing list