Options -Indexes
DirectoryIndex index.php
<FilesMatch "^(README\.md|router\.php)$">
    Require all denied
</FilesMatch>
<IfModule mod_headers.c>
    Header always set X-Content-Type-Options "nosniff"
    Header always set Referrer-Policy "same-origin"
</IfModule>

<IfModule mod_mime.c>
    AddType application/manifest+json .webmanifest
</IfModule>

# Versioned asset URLs (?v=commit) may be cached for a long time.
<IfModule mod_headers.c>
    <FilesMatch "\.(css|js|png|svg|webp|woff2?)$">
        Header set Cache-Control "public, max-age=31536000, immutable"
    </FilesMatch>
</IfModule>
