Follow redirects at the edge

Protect clients from redirects by chasing them internally at the edge, and then return the eventual non-redirect response.

VCL

Use this solution in your VCL service (click RUN below to test this solution or clone it to make changes):