initial commit
This commit is contained in:
6
files/conf.d/custom/hidden_files.conf
Normal file
6
files/conf.d/custom/hidden_files.conf
Normal file
@@ -0,0 +1,6 @@
|
||||
# Deny all attempts to access hidden files such as .htaccess, .htpasswd, .DS_Store (Mac).
|
||||
location ~ /\. {
|
||||
deny all;
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
}
|
Reference in New Issue
Block a user