Set X-Content-Type-Options to exactly nosniff on Apache
Why it matters
nosniff is the only value browsers understand, so any other value is ignored and type guessing stays on. A second copy added by another layer often causes it.
The fix
- Remove the copy in the default table and set one value in the always table, then reload.
apache
Header onsuccess unset X-Content-Type-Options Header always set X-Content-Type-Options "nosniff"
Related
- Reported by the X-Content-Type-Options check
- Send X-Content-Type-Options nosniff
Scan your domain to see whether this applies to you.