HTTP is not redirecting to HTTPS

I think the edge is not redirecting to HTTPS

I have multiple sites on cloudflare, and i check two of them:

curl -v

curl -v

it won’t load…
if i manually use https as protocol, then it loads…

Most of users will just write the domain name, so redirecting from http to https is very important.

Both sites have Always Use HTTPS ON in the SSL/LTS Edge Certificates settings

For me, both of the mentioned sites load and properly redirect from HTTP to HTTPS. Maybe you have some DNS/Browser cache that causes problems?

Can you try from your mobilephone or from a anonym tab?

hi, thanks for your reply… I have edited the question to use curl…

Those two are not redirecting for me… how about you?

Screen Shot 2022-01-04 at 01.08.22

It’s not sending anything…

~# curl -v
> GET / HTTP/1.1
> Host:
> User-Agent: curl/7.64.0
> Accept: */*
< HTTP/1.1 301 Moved Permanently
< Date: Mon, 03 Jan 2022 18:08:31 GMT
< Transfer-Encoding: chunked
< Connection: keep-alive
< Cache-Control: max-age=3600
< Expires: Mon, 03 Jan 2022 19:08:31 GMT
< Location:
< Report-To: {"endpoints":[{"url":"https:\/\/\/report\/v3?s=NBb1Hb1DvpvWOVrPHqWdRkiRsuEw63FHPLwLK87wZZ1RoJr5f2U0hoFRZxLJxbZFymyeQaBwXzTrnTPXgCgjVyEyuFnvumiaKJCMVB3PyFZKg8C53thQM1EqYcM4HQguyOBEk4pRe7VrQNvPiUk%2F"}],"group":"cf-nel","max_age":604800}
< NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
< X-Content-Type-Options: nosniff
< Server: cloudflare
< CF-RAY: 6c7e2c42fa903244-FRA
< alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400
* Connection #0 to host left intact

Thank you @M4rt1n , at least i can sleep now :smiley:

1 Like

Have a good sleep and clear your DNS cache of your server or router :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.