There were some issues so I removed my site from Cloudflare and readded it. Now it showing too many redirects error. I have chosen Flexible and Always use https.
I have seen some answers on this forum regarding too many redirects but cannot figure out how to resolve this.
This is the most common cause of this I see, change that to Full (Strict). If you don’t already have a certificate on your server you can use a Cloudflare Origin Certificate.