hiding varnish headers from requests

Jobe Bittman jbittman at chewcorp.com
Fri Dec 14 01:23:02 CET 2007


Edit your vcl file and modify deliver like so.

sub vcl_deliver {
    remove resp.http.X-Varnish;
    remove resp.http.Via;
}


On 11/2/07, Damien Wetzel <dwetzel at nerim.net> wrote:
>
> Hello,
> I wondered if there is a way to prevent Varnish from
> puting headers like :
> X-varnish
> Via: 1.1 varnish
> in its responses to clients.
> thanks,
> --
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Damien WETZEL (ATANAR TECHNOLOGIES)        ("`-/")_.-'"``-._
> http://www.atanar.com                      . . `; -._    )-;-,_`)
>                                           (v_,)'  _  )`-.\  ``-'
> Phone:+33 6 62 29 61 77                   _.- _..-_/ / ((.'
> - So much to do, so little time -       ((,.-'   ((,/
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at projects.linpro.no
> http://projects.linpro.no/mailman/listinfo/varnish-misc
>



-- 
Jobe Bittman
Chief Network Architect
ZenGarden, Inc.
(858) 200-6099
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20071213/84c704c2/attachment-0001.html>


More information about the varnish-misc mailing list