mirror of https://github.com/flarum/flarum
Update .htaccess
flarum/core#692 protect composer.lock, but also improve protection for git directoriespull/41/head
parent
ba53bc77fd
commit
0ba01391e8
|
@ -26,7 +26,8 @@
|
|||
RewriteRule ^vendor/(.*)?$ / [F,L]
|
||||
RewriteRule ^storage/(.*)?$ / [F,L]
|
||||
RewriteRule ^config.php$ / [F,L]
|
||||
RewriteRule ^.git/(.*)?$ / [F,L]
|
||||
RewriteRule /\.git / [F,L]
|
||||
RewriteRule ^composer\.lock$ / [F,L]
|
||||
|
||||
RewriteRule ^api(.*)$ api.php [QSA,L]
|
||||
RewriteRule ^admin(.*)$ admin.php [QSA,L]
|
||||
|
|
Loading…
Reference in New Issue