mozilla/awsbox — pull request #111 by Standard8 (2013-10-07 19:42:25+00:00)
Title: Allow a redirect option for ssl configuration to handle ELBs terminating the https connection

My current setup is for ELBs to terminate the https connection, but to still need http to redirect to https.

The easiest way I've found to handle this with awsbox is to copy the nginx proxy redirect for the http -> https but then remove the https config, and let the ELB connect to the server on port 10000 (the default port for the server).