Rewrite problem

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


On Thu, Sep 16, 2010 at 01:15:45PM -0400, st1905 wrote:

> How to match every php file under the admin directory? Thanks. I dont
> want to match admin folder globally on the domain.

location ~ ^/admin/.+\.php$


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



More information about the nginx mailing list