Skip to main content

Proxying & SSL Modes

Orange cloud vs grey cloud

ModeDNS resolves toTraffic through Cloudflare
Proxied (🟠)Cloudflare IPsYes — WAF, caching, DDoS apply
DNS only (⬜)Your origin IPNo — direct connection

Use DNS only for: GitHub Pages CNAMEs, mail records, IPs that need direct access.

SSL/TLS encryption modes

ModeBrowser → CFCF → OriginUse when
OffHTTPHTTPNever
FlexibleHTTPSHTTPOrigin has no cert (avoid)
FullHTTPSHTTPS (any cert)Self-signed origin cert
Full (strict)HTTPSHTTPS (valid cert)Origin has a trusted cert

Always use Full (strict) for production. With cloudflared tunnels the tunnel terminates at Cloudflare's edge — always Full (strict).

Always Use HTTPS

Enable in: Zone → SSL/TLS → Edge Certificates → Always Use HTTPS.

Or via a Page Rule / Transform Rule that redirects http://* to https://*.

HSTS

Strict-Transport-Security: max-age=31536000; includeSubDomains; preload

Enable via: SSL/TLS → Edge Certificates → HTTP Strict Transport Security.

HSTS preload

Once submitted to the browser preload list, you cannot remove HSTS without breaking non-HTTPS users for months. Only enable preload when you're committed to HTTPS-only forever.

Minimum TLS version

Set to TLS 1.2 minimum (TLS 1.0 and 1.1 are deprecated). Found in: SSL/TLS → Edge Certificates → Minimum TLS Version.