How to force Cloudflare to connect to my server over HTTPS for both HTTP & HTTPS requests?
Set your Crypto SSL to Full (Strict). Also, on the same Crypto page, turn on “Always Use HTTPS” and “Automatic HTTPS Rewrites”.
it will not work for me. Because domain in request could be 4 levels like: http://level4.level3.example.com
Cloudflare supports only level 3 max for https
You would need the $10/month Dedicated SSL certificate with Custom Hostnames. Otherwise, you can’t route that sub-subdomain through Cloudflare in DNS.
Thats not an issue of the connection between Cloudflare and your server though, but a problem on the proxies already.