commit 42246147c407ae908b82f0592009144c7d9ec4a7
parent 4532559f837a7cc0b8419237e45ccfe450adaf9d
Author: Felix Kretschmer <5871630+fernwerker@users.noreply.github.com>
Date: Tue, 24 Aug 2021 19:47:55 +0200
Merge pull request #18 from mhellmeier/patch-1
Restrict access to log file
adding .htaccess to restrict access to .env and .json files within directory.
Diffstat:
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/.htaccess b/.htaccess
@@ -1,4 +0,0 @@
-<Files .env>
- Order allow,deny
- Deny from all
-</Files>
-\ No newline at end of file
diff --git a/.htaccess.example b/.htaccess.example
@@ -0,0 +1,4 @@
+<FilesMatch "\.(env|json)$">
+ Order allow,deny
+ Deny from all
+</FilesMatch>