2 Answers
- Newest
- Most votes
- Most comments
1
Fastly did not have much experience in recreating the custom error response from AWS, so I was a bit on my own with this but this is what I came up with that recreates the same behavior. Add a VCL snippet under the vcl_fetch subroutine and this will recreate the desired behavior: if (beresp.status == 403) { set req.url = "/index.html"; set beresp.status = 200; return (restart); }
Hopefully this helps someone else out in the future!!
answered a year ago
0
I would reach out the Fastly support team, as the answer depends on some of the Fastly CDN settings which have been applied.
answered a year ago
Relevant content
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago