A drupal site running on elastic beansstalk will detect the current scheme as http and render redirect urls as http. There's no way to generate a https redirect url.
Add an option to use https regardless of existing scheme.
Active
1.0
Code
I'm using this patch, the patch is for the dev branch.
https applied to file url.