You've already forked nginxsnippets
initial commit
This commit is contained in:
8
block-file-access.conf
Normal file
8
block-file-access.conf
Normal file
@@ -0,0 +1,8 @@
|
||||
location ~ /\.git {
|
||||
deny all;
|
||||
return 404;
|
||||
}
|
||||
|
||||
location ~ (\.aws$|\.cgi$|\.env$|\.perl$|\.pl$|\.py$|\.sh$) {
|
||||
return 444;
|
||||
}
|
Reference in New Issue
Block a user