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