snag.page

Every check ยท HTTPS

Redirect to HTTPS

transport/http-redirect

What it checks

Whether http:// sends visitors to https://, permanently.

Why it matters

Visitors who type the address or follow an old link otherwise stay on an unencrypted page.

How to fix it

  1. Redirect every http:// request to the same address on https://, with a 301 or 308.
  2. Make it one redirect, not a chain.
nginx
server {
  listen 80;
  return 301 https://$host$request_uri;
}

Check a site for this and everything else: snag.page. More on https: HTTPS No downgrade HSTS www and the bare domain Certificate renewal