Options -Indexes

# Protect common sensitive files if they are ever placed in the web root.
<FilesMatch "^(\.env|composer\.(json|lock)|.*\.(sql|log|bak|old|orig|dist))$">
    Require all denied
</FilesMatch>

# Disable content sniffing and framing by default.
<IfModule mod_headers.c>
    Header always set X-Content-Type-Options "nosniff"
    Header always set X-Frame-Options "SAMEORIGIN"
    Header always set Referrer-Policy "strict-origin-when-cross-origin"
</IfModule>
