Hello Cloudflare Community members! I have been trying to fix the issue for the last 6 hours.
SSL: Issued by Sectigo Limited and valid, it did work before adding the site to CF.
Problem: If I use Full or Full (Strict) SSL on CF, the site displays 502 Bad Gateway. I have tried to install Cloudflare Origin CA but the problem doesn’t go away. I have tried disabling CF completely by changing the nameservers back to pre-CF and the website worked fine.
I could use Flexible SSL but then if I force HTTPS via CF (either a page rule or the setting in Crypto) it creates a never ending redirect loop. .htaccess doesn’t have any HTTP->HTTPS redirects.
The only solution is now to use Flexible SSL with optional SSL but I want to only have HTTPS traffic.
Could someone please help with this issue?