The user KevinWorkman encountered a “too many redirects” error after enabling HTTPS on their Discourse forum using Let’s Encrypt. After troubleshooting, they discovered that the issue was caused by uppercase letters in their domain name (forum.HappyCoding.io). pfaffman suggested using the discourse-doctor tool, which revealed the configuration issue. KevinWorkman resolved the problem by correcting the domain to lowercase (forum.happycoding.io). The discussion also led to suggestions from codinghorror and pfaffman to add warnings or automatic lowercase conversion in the setup process to prevent similar issues.
As always it turns out that I’m an idiot. I had some upper-case letters in my domain (forum.HappyCoding.io). Modifying the app.yml file to only user lower-case letters (forum.happycoding.io) solved the problem.
I noticed this when I looked at the output for disocurse-doctor, so thanks very much!
Btw, I found a similar thread with a similar problem here.
Yeah, the discourse-doctor tool printed out the config data, which is where I saw the upper-case letters. That coupled with seeing this post and remembering encountering another problem with upper-case letters finally clicked everything into place in my brain.