mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 01:35:12 +00:00
protect symfony resource files
This commit is contained in:
parent
2118b2aeaf
commit
d57f9a3630
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -22,6 +22,7 @@ Thumbs.db
|
|||
__pycache__
|
||||
|
||||
## Ignore site specific files and folders
|
||||
.env*
|
||||
.htaccess
|
||||
.htconfig.php
|
||||
.htstartup.php
|
||||
|
|
|
@ -3,7 +3,7 @@ AddType audio/ogg .oga
|
|||
CGIPassAuth On
|
||||
|
||||
# don't allow any web access to logfiles, even after rotation/compression
|
||||
<FilesMatch "\.(out|log|gz)$">
|
||||
<FilesMatch "\.(out|log|gz|env)$">
|
||||
<IfModule mod_authz_core.c>
|
||||
Require all denied
|
||||
</IfModule>
|
||||
|
|
Loading…
Reference in a new issue