Skip to content

Commit 6e6befa

Browse files
committed
Update block_sensitive_files.conf
1 parent f1902cd commit 6e6befa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Block access to backup, config, command, and log files
22

3-
location ~* (?:\.(?:bak|co?nf(ig)?|in[ci]|log|sh|sql|tar|t?gz)|~)$ {
3+
location ~* (\.(bak|conf|config|cnf|ini|inc|log|sh|sql|tar|tgz)|~)$ {
44
deny all;
5-
}
5+
}

0 commit comments

Comments
 (0)