How to store a Cloudfront custom error page in S3?
These are hints from http://blog.celingest.com/en/2013/12/12/cloudfront-configuring-custom-error-pages/
- You need to add another CloudFront origin pointing to the bucket where your error page is
- The cache behaviour of the newly-created origin should have a Path Pattern pointing to the folder (in the error page bucket) where the error pages reside
- You can then use that path in the Response Page Path when you create the Custom Error Response config