nginx rules to deny php/perl execution

nfn nginx-forum at
Sat Nov 20 21:39:12 MSK 2010


I have some directories (cache, static, etc) that denies execution of
some files.
In these directories I have a .htaccess file with this rule:

    Order allow,deny
    Deny from all

I would like to test nginx with php-fpm but I don't know how to rewrite
these rules in nginx
Can someone help me?


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

More information about the nginx mailing list