Options -Indexes

<FilesMatch "(?i)(^error_log$|\.sql$|\.zip$|\.log$|\.bak$|\.bak_|\.old$|\.orig$|readme\.txt$|passwordtest\.php$|index_old\.php$|functions_old\.php$|inventory_old\.php$|variants_old\.php$|.*_old\.php$)">
    Require all denied
</FilesMatch>

<FilesMatch "(?i)(composer\.(json|lock)|package(-lock)?\.json|\.env|config\.local\.php)">
    Require all denied
</FilesMatch>
