Rewrite problem

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


location ~ /admin/

Above matches every admin folder on the domain but i just want to match
"/admin" on the url like 

Tried this location = /admin/

But that did not work. I`m suing this location to password protect.

Posted at Nginx Forum:,131021,131021#msg-131021

More information about the nginx mailing list