Options -Indexes
DirectoryIndex index.php
<FilesMatch "\.(sql|log|ini|bak|env)$">
Require all denied
</FilesMatch>
