Options -Indexes
DirectoryIndex index.php
<FilesMatch "^(Config\.php|\.env|.*\.sql|README.*|.*\.lock)$">
 Require all denied
</FilesMatch>
