Подскажите, как запретить доступ к файлу например *.php в folder2?
location /folder2 {
deny all;
}
location / {
root /web/www/html;
index index.php index.html index.htm;
# "htaccess"
# auth_basic
# auth_basic_user_file /web/www/html/.htpasswd;
}
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru