Kavach

Fix · Apache

Fix “MIME-sniffing protection” on Apache

Add: X-Content-Type-Options: nosniff

Header always set X-Content-Type-Options "nosniff"

Verify the fix

Re-run the MIME-sniffing protection check after deploying. Test config changes in staging first and keep a rollback: a wrong header can break a site faster than a missing one.

Other stacks: nginx · Caddy · Express / Node · Cloudflare

Scan your site free → Monitor it continuously