Passing Backend App Errors to End Users

Kelvin Loke kelvin1111111 at gmail.com
Thu Jul 21 18:32:28 CEST 2016


>
> Again: Varnish will do that by default. You don't have to do anything.
>
> You return synth in vcl_deliver. Don't do that if you don't want a
> synthetic
> response.
>
> > -   VCL_call       DELIVER
> > -   RespUnset      Via: 1.1 varnish-v4
> > -   RespUnset      Server: nginx/1.6.2
> > -   RespUnset      X-Varnish: 34174473
> > -   VCL_return     synth
>

You are totally right, I just realized that I have some "return synth()"
logic in vcl_deliver, my bad. Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20160721/dc881946/attachment.html>


More information about the varnish-misc mailing list