3 ms·
It's pretty easy to deploy to S3, host your build as a static website and point both your index and 404 pages to your index.html. SSL can be configured in Cloud
by zachguo 9y ago
It's pretty easy to deploy to S3, host your build as a static website and point both your index and 404 pages to your index.html. SSL can be configured in CloudFront.
- thapakazi 9y agoThanks, that was quick. Can you elaborate more on that "both your index and 404 pages to your index.html". Where do I do that on s3 ? cloudfront ? I had one on cloudfront to redirect 404 to index.html but that redirected all my sign_up/index.html to login/index.html page too :( But is it the best way of doing it? And about s3 and CloudFront with ssl, I was weaving via this guide, and couldn't make lamda work with CloudFront. I was stucked with lamda IAM permission weirdness, and couldnot make it work: https://aws.amazon.com/blogs/compute/implementing-default-directory-indexes-in-amazon-s3-backed-amazon-cloudfront-origins-using-lambdaedge/ https://aws.amazon.com/blogs/compute/implementing-default-di...