Too many redirects error



I’ve been using Cloud 9 with something called Userfrosting, an open source account management system. However, I receive the error ERR_TOO_MANY_REDIRECTS when I turn on the feature in Userfrosting that forwards all HTTP to HTTPS.

Userfrosting support has told me the most likely scenario is that there is some setting in Cloud 9 that is causing an infinite redirect loop: HTTP -> HTTPS -> HTTP etc. Any ideas?


edit: my .htaccess can be found here