Browse Source

Deny .old Backup Extensions

old-stable
Mitesh Shah 12 years ago
parent
commit
beb0ca2ecd
  1. 2
      etc/nginx/common/locations.conf

2
etc/nginx/common/locations.conf

@ -77,7 +77,7 @@ location ~ /\. {
}
# Deny Backup Extensions & Log Files
location ~* ^.+\.(bak|log|orig|original|php~|php_bak|save|swo|swp)$ {
location ~* ^.+\.(bak|log|old|orig|original|php~|php_bak|save|swo|swp)$ {
deny all;
access_log off;
log_not_found off;

Loading…
Cancel
Save