Browse Source

Access Denied For .log Files

old-stable
Mitesh Shah 12 years ago
parent
commit
81f7078222
  1. 6
      etc/nginx/common/locations.conf

6
etc/nginx/common/locations.conf

@ -56,6 +56,12 @@ location ~ /\. {
log_not_found off;
}
location ~* ^.+.log {
deny all;
access_log off;
log_not_found off;
}
location ~ /readme\.(txt|html)$ {
deny all;
access_log off;

Loading…
Cancel
Save