Common issue:
Error 521 on HTTPS only – nginx
Solve by changing SSL type to flexible in cloudflare settings
Redirect loop after enabling cloudflare
First quick fix is to disable cloudflare proxy for that domain or subdomain until we figure out the issue or implement its solution.
The quick way to disable or bypass cloudflare proxy server is:
- go to cloudflare.com > dns settings
- find the domain or subdomain which is having redirect loop
- click on the orange cloud icon in front of it so that it turns grey, confirming that the cloudflare proxy is turned off for this entry