[英]Best way to redirect http to https on ELB with IIS
在带有IIS的ELB上将HTTP通信重定向到https的最佳方法是什么? 我有3个选择
<system.webServer><rewrite><rules>
现在,我的网站可以同时在http和https上运行。 在ELB上,没有端口分配给http,只有HTTPS站点保持激活状态。
从以上两个选项将HTTP流量重定向到https的最佳方法是什么? 有没有比这两个选项更好的方法来实现此重定向?
两者都可以,但是我建议您在IIS中添加重写规则。 如果您打算将其他域添加到站点,这将更易于管理。 域转发可能不可行。
选项2听起来最好。
在ELB上添加http和https侦听器。
然后在IIS中添加重定向规则。
[英]IIS HTTP to HTTPS relative redirect
[英]Recommended way to to redirect HTTP requests to HTTPS
[英]How To Setup A 301 redirect from an http to https in iis7
[英]How to redirect HTTP to HTTPS in MVC application (IIS7.5)
[英]Http Redirect with IIS 8.5
[英]http to https infinite redirect
[英]Always redirect http to https
[英]How redirect http to https
[英]HTTP redirect to HTTPS
[英]Proplem with redirect http to https
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.