W
Whitney Jutzin
Merged in a post:
Deploy static sites to Spaces/CDN
Teodors Zeltiņš
I would like to see an option for CDN to set redirects to "index.html" for SPA built on frameworks like React.
W
Whitney Jutzin
open
W
Whitney Jutzin
Thank you for your great feedback! Based on this, Spaces origin buckets support static websites through the PutBucketWebsite and GetBucketWebsite S3 commands as documented on this page: https://docs.digitalocean.com/products/spaces/reference/s3-compatibility/. Once created, the website can be accessed at https://[bucket-name].[datacenter-name]-static.digitaloceanspaces.com, e.g. https://bucket1.nyc3-static.digitaloceanspaces.com. CDN support for static sites is available through App Platform. Please know that we are considering this experimental and we are still looking at this functionality. If you have any questions on how to get set up, please reach out to our support team at https://docs.digitalocean.com/support/
This post was marked as
under review