I set up Cloudflare Tunnel and Cloudpanel on my self hosted pc. I can access panel.example.com After adding more domain to cloudpanel, i am adding them to cloudflare tunnel as public hostnames with http://localhost:80 and then cloudflare automatically adding CNAME dns to my dns settings.
Hi. I fixed this by configuring SSL to automatic in Cloudflare and making tweak on Cloudpanel (Nginx host file). I can now finally run it.
Here is what I commented/removed which was redirecting http to https from host file :