Options -Indexes
DirectoryIndex index.php
<IfModule mod_headers.c>
Header always set X-Content-Type-Options "nosniff"
Header always set Referrer-Policy "strict-origin-when-cross-origin"
Header always set X-Frame-Options "SAMEORIGIN"
Header always set Permissions-Policy "camera=(), microphone=(), geolocation=()"
</IfModule>
<FilesMatch "^(\.env|composer\.(json|lock)|README\.md|.*\.sql|.*\.log|.*\.bak|.*\.json\.bak)$">
Require all denied
</FilesMatch>
RewriteEngine On
RewriteRule ^(app|config|database|storage|cron|docs|scripts)/ - [F,L,NC]
