mirror of
https://github.com/fernwerker/ownDynDNS.git
synced 2025-07-09 21:55:13 +02:00
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.
This commit is contained in:
commit
42246147c4
2 changed files with 4 additions and 4 deletions
|
@ -1,4 +0,0 @@
|
|||
<Files .env>
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
4
.htaccess.example
Normal file
4
.htaccess.example
Normal file
|
@ -0,0 +1,4 @@
|
|||
<FilesMatch "\.(env|json)$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</FilesMatch>
|
Loading…
Add table
Add a link
Reference in a new issue