如何从AWS上的S3静态网站托管托管HTTPS网站

如何从AWS上的S3静态网站托管托管HTTPS网站

本文介绍了如何从AWS上的S3静态网站托管托管HTTPS网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

文档

仅提供HTTP,如何使其在HTTPS上运行?有可能吗?

Offers only HTTP, how to make it to work on HTTPS? Is it possible?

我已经配置好了,对于HTTP来说也可以正常工作,但是对于HTTPS我可以了

I configured and it is working fine for HTTP, but for HTTPS I'm getting

即使我在AWS Certificate Manager中为我的域创建了证书.

Even though I created certificates to my domain in AWS Certificate Manager.

推荐答案

CloudFront可用于为S3上托管的静态网站提供HTTPS请求.这是一些AWS文档 https://aws.amazon. com/premiumsupport/knowledge-center/cloudfront-https-requests-s3/

CloudFront can be used to serve HTTPS request for static website hosted on S3.Here is some AWS documentation https://aws.amazon.com/premiumsupport/knowledge-center/cloudfront-https-requests-s3/

此外,我发现此博客非常具有解释性- https://medium.com/@sbuckpesch/setup-aws-s3-static-website-hosting-using-ssl-acm-34d41d32e394

Also, i found this blog very explanatory - https://medium.com/@sbuckpesch/setup-aws-s3-static-website-hosting-using-ssl-acm-34d41d32e394

希望这会有所帮助.

这篇关于如何从AWS上的S3静态网站托管托管HTTPS网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-11 10:31