Security scan: Strict-Transport-Security (HSTS) header missing
The site doesn't tell browsers to always use HTTPS, so a first visit over HTTP can be intercepted (SSL stripping).
Strict-Transport-Security header missingHSTS header not setMissing HTTP Strict Transport Security headerHSTS Missing From HTTPS ServerStrict-Transport-Security not present Meaning
Send Strict-Transport-Security: max-age=31536000; includeSubDomains on HTTPS responses only, after the whole site and subdomains work over HTTPS. Start with a short max-age, add preload only when you're sure, since removing it later is slow.
Common causes
- HSTS header never configured
- Header sent only on HTTP, not HTTPS
- Proxy/CDN stripping it
- Subdomains not ready for includeSubDomains
- Set only on some paths
⚡ Quick fix
- Add the header on all HTTPS responses
- Ramp
max-ageup gradually - Verify:
curl -sI https://example.com | grep -i strict
Detailed fix by platform
Nginx
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
How to diagnose
- Header — Present on HTTPS?
- max-age — Long enough?
- Subdomains — HTTPS ready?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- 1005 Cloudflare Error 1005: Access denied — The owner of this website has banned the autonomous system number (ASN) your IP address is in
- 1006 Cloudflare Error 1006 / 1007 / 1008: Access denied — Your IP address has been banned
- 1009 Cloudflare Error 1009: Access denied — The owner of this website has banned the country or region your IP address is in
Most viewed in HTTP
Other ways to find it
Where this error sits
Origin: Network. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 18 Nov 2026