400 The Plain Http Request Was Sent To Https Port

HTTPS Redirection in Cloudflare

When a plain HTTP request is sent to the HTTPS port, it triggers a series of security checks by Cloudflare. While this may seem like an overkill for standard HTTPS usage, there are scenarios where proper HTTPS redirection is crucial.

https://conferences.law.stanford.edu/ipsummerschool2022/2014/01/21/porta-est-nascetur-proin-2