reverted json deny
This commit is contained in:
parent
34942b4e16
commit
aa9d69348f
@ -12,7 +12,7 @@
|
||||
RewriteEngine On
|
||||
|
||||
# Prevent Direct Access to Protected Files
|
||||
<FilesMatch "(?i)(^artisan$|\.env|\.json|\.log)">
|
||||
<FilesMatch "(?i)(^artisan$|\.env|\.log)">
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</FilesMatch>
|
||||
|
@ -22,7 +22,7 @@ server {
|
||||
}
|
||||
|
||||
# Prevent Direct Access To Protected Files
|
||||
location ~ \.(env|json|log) {
|
||||
location ~ \.(env|log) {
|
||||
deny all;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user