On Thu, Jul 21, 2016 at 12:55:47AM +0000, Kelvin Loke wrote:
> 
> My goal is to make Varnish to show Backend's error body, not Varnish's
> generic error body, which I have a difficult time to figure it out. I

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

-- 
Andreas

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to