Redirect to https through url rewrite in IIS within elastic beanstalk's load balancer

后端 未结 4 1563
心在旅途
心在旅途 2020-12-04 17:01

How do you use IIS\'s url rewrite module to force users to use ssl while you are behind an elastic beanstalk load balancer?

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-04 17:33

    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.

    
        
            
                
                
                
                
            
        
    
    

提交回复
热议问题