How do you use IIS\'s url rewrite module to force users to use ssl while you are behind an elastic beanstalk load balancer?
Luke's answer works perfect if you are using an ELB but will not work with an ALB. For an ALB Ross Pace answer is correct. But you can also combine the two so that way you can access the site locally without being redirected to HTTPS.