Mailing List Archive

hiding varnish headers from requests
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 - ((,.-' ((,/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
hiding varnish headers from requests [ In reply to ]
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: http://projects.linpro.no/pipermail/varnish-misc/attachments/20071213/84c704c2/attachment.htm