Hi, Jim,
I just use .htaccess as an example. Basically, I find it is hard to configure globally for all virutal hosts at one place because location must be inside the server directive.
Another example is - apache alias equivalent - in apache, I can just add line
alias /phpMyAdmin /path/to/phpMyAdmin
then http://all-virtual-hosts/phpMyAdmin is available to all hosts. In Nginx, I have to add as many times as the virtual hosts?
BTW,
location ~ /\.ht {
deny all;
}
is not my idea. It comes with nginx default. I think it is useful because
[quote]# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one[/quote]