mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 15:55:13 +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__
|
__pycache__
|
||||||
|
|
||||||
## Ignore site specific files and folders
|
## Ignore site specific files and folders
|
||||||
|
.env*
|
||||||
.htaccess
|
.htaccess
|
||||||
.htconfig.php
|
.htconfig.php
|
||||||
.htstartup.php
|
.htstartup.php
|
||||||
|
|
|
@ -3,7 +3,7 @@ AddType audio/ogg .oga
|
||||||
CGIPassAuth On
|
CGIPassAuth On
|
||||||
|
|
||||||
# don't allow any web access to logfiles, even after rotation/compression
|
# 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>
|
<IfModule mod_authz_core.c>
|
||||||
Require all denied
|
Require all denied
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
Loading…
Reference in a new issue