Hi,
I installed a script yesterday for which I need to disallow web access to some directories.
In Apache, you could do this with an .htaccess file.
Nginx doesn't support .htaccess files. However, I do see this in the nginx conf file:
# deny access to .htaccess files, if Apache's document root # concurs with nginx's one # #location ~ /\.ht { # deny all; #}
I though uncommenting these lines would make nginx block all webaccess to folders containing .ht files, but it doesn't.
How do you guys block web access to multiple folders easily?
Thanks