Too many redirects after enabling https

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.