Options -Indexes
DirectoryIndex index.html index.php
Require all denied
Header always set X-Content-Type-Options "nosniff"
Header always set Referrer-Policy "same-origin"
# PHP endpoints should not be cached.
Header set Cache-Control "no-store"
# t1256: HTML must be revalidated so new asset hashes take effect.
# Versioned JS/CSS/JSON (see ?v= from src/build.sh) can be cached long.
# The host serves PHP through Apache-style rules; static files may be
# served by nginx and then these FilesMatch rules do not apply — the
# query-string hashes still bust the cache.
Header set Cache-Control "no-cache"
Header set Cache-Control "public, max-age=31536000, immutable"