Fix · Cloudflare
Fix “Served over HTTPS” on Cloudflare
Install a TLS certificate (free via Let's Encrypt) and redirect all http:// traffic to https://.
// SSL/TLS > Edge Certificates > 'Always Use HTTPS' = On
Verify the fix
Re-run the Served over HTTPS 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 · Apache · Caddy · Express / Node