Search This Blog

Wednesday, November 21, 2018

Serving content on a custom domain over HTTPS from Google Cloud Storage

While you can serve your content through HTTPS using direct URI's such as https://storage.googleapis.com/my-bucket/my-object, when hosting a static website using a CNAME redirect, Cloud Storage only supports HTTP. To serve your content through a custom domain over SSL, set up a load balancer, use a third-party Content Delivery Network with Cloud Storage, or serve your static website content from Firebase Hosting instead of Cloud Storage.