Home / Learn / Fix‑it guides
Fix‑it guide
Turn on HSTS and switch off TLS 1.0 and 1.1
Updated December 4, 2026 · QDay Index team
TLS 1.0 and 1.1 are deprecated and let attackers downgrade connections. HSTS makes browsers refuse plain HTTP. Both are small configuration changes.
Remove TLS 1.0 and 1.1
- NGINX:
ssl_protocols TLSv1.2 TLSv1.3; - Apache:
SSLProtocol -all +TLSv1.2 +TLSv1.3 - Cloudflare: SSL/TLS → Edge Certificates → Minimum TLS Version 1.2
- AWS ALB/NLB: a TLS 1.2+ policy such as
ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09 - Google Cloud: SSL policy minimum TLS version 1.2
- Azure Front Door: custom domain minimum TLS version 1.2
Check your logs for old clients (embedded devices, legacy integrations) before switching off.
Enable HSTS
Strict-Transport-Security: max-age=31536000
Start with a shorter max‑age (for example 15552000, six months) if you're unsure every page works over HTTPS. Add includeSubDomains only when every subdomain serves HTTPS.
- NGINX:
add_header Strict-Transport-Security "max-age=31536000" always; - Apache:
Header always set Strict-Transport-Security "max-age=31536000" - Cloudflare: SSL/TLS → Edge Certificates → HTTP Strict Transport Security
Run a readiness scan afterwards to confirm both checks pass.
Other fix‑it guides
Vendor features change quickly; check your provider's current documentation before changing production systems.