webzod
account

Stop redirecting HTTPS to HTTP on Vercel

headers.redirect.https_downgrade · effort: about an hour

Why it matters

The HTTPS homepage sends visitors back to plain http, so the encrypted connection is thrown away and their traffic is exposed again. It usually means the application believes its address starts with http:// or a redirect rule points the wrong way.

The fix

  1. Vercel never serves plain http, so the redirect comes from your project. Check the redirects in vercel.json and in your framework config for destinations that start with http://.
  2. Check application code or middleware that builds absolute URLs, change them to https://, and redeploy.

Read the documentation (opens in a new tab)

Scan your domain to see whether this applies to you.