Terminating HTTPS on EC2 instances running Ruby