title: How to fix ERR_TOO_MANY_REDIRECTS on custom github pages domain?
body: <p>So I had github pages set up with a custom domain without problem on namecheap a day ago. Then I tried switching to Https via github's newly added support for https on pages. After too much frustration I switched over to CloudFlare for Https but I'm now getting an error <code>ERR_TOO_MANY_REDIRECTS</code> </p>
  
  <p>Here's my DNS settings on CloudFlare.</p>
  
  <p><a href="https://i.stack.imgur.com/cGlzN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cGlzN.png" alt="DNS Settings Cloudflare"></a></p>