如何默认域使用 HTTPS
How can I default a domain to use HTTPS
我正在研究如何使用 AWS 设置静态网站。我购买了一个占位符域,创建了一个示例 angular 项目并使用 S3、cloudfront、route 53
等 AWS 服务将其托管在 www.snedz.com 上
然后我还在 AWS 中使用证书管理器添加了 SSL 证书。现在虽然 https://www.snedz.com (https) is active , when I type "www.snedz.com" or "snedz.com" in my browser it seems to go to http://www.snedz.com (http)
我希望这会转到 https:www.snedz.com.
这是我用来设置它的教程:
https://www.davidbaumgold.com/tutorials/host-static-site-aws-s3-cloudfront/
只想总结一下 John 发布的 link 中给出的信息:
Go to cloudfront
>select the distribution
>behavior tab
> select behavior
>click edit
>Viewer protocol policy to: Redirect HTTP to HTTPS
我正在研究如何使用 AWS 设置静态网站。我购买了一个占位符域,创建了一个示例 angular 项目并使用 S3、cloudfront、route 53
等 AWS 服务将其托管在 www.snedz.com 上然后我还在 AWS 中使用证书管理器添加了 SSL 证书。现在虽然 https://www.snedz.com (https) is active , when I type "www.snedz.com" or "snedz.com" in my browser it seems to go to http://www.snedz.com (http)
我希望这会转到 https:www.snedz.com.
这是我用来设置它的教程: https://www.davidbaumgold.com/tutorials/host-static-site-aws-s3-cloudfront/
只想总结一下 John 发布的 link 中给出的信息:
Go to cloudfront
>select the distribution
>behavior tab
> select behavior
>click edit
>Viewer protocol policy to: Redirect HTTP to HTTPS