I moved my forum behind AWS' CloudFront CDN. Now I'm having the problem that my OAuth (Github & Facebook) redirect url is automatically set to http, because the https connection is between the browser and CloudFront, but between CloudFront and the server there is a http connection.
I set the X-Forwarded-Proto header to https, but it looks like flarum is ignoring it.
Is there a way to force flarum to always use https in the internal url constructions?