Replace origin errors with 'safe' responses

If origin responds with 500 internal server error, modify status to 503 and serve a 'safe' error message.

VCL

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