Too many redirects after enabling https

I’m not sure what the problem could be. Could you try the unannounced discourse doctor and see if it sheds light?

git pull
./discourse-doctor