简体   繁体   中英

Using SSL on Amazon S3 bucket with CNAME

So currently I have a CNAME mapped to my Amazon S3 bucket so that I can access my files like subdomain.domain.com/file.js

The problem is SSL doesn't work on this.

Now I could add Cloudfront, however, that creates a cache for the files and the files need to update dynamically.

How do I go about doing this?

CloudFront is a complementary service to S3, and is the only way AWS provides to combine a custom domain name and SSL with an S3 bucket.

If you really don't want CloudFront to cache any content, you can set the Minimum, Default, and Maximum TTL to 0.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM