2 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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!!
répondu il y a un an
0
I would reach out the Fastly support team, as the answer depends on some of the Fastly CDN settings which have been applied.
répondu il y a un an
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an