hiding varnish headers from requests

MontyRee chulmin2 at hotmail.com
Mon Jan 7 12:45:02 CET 2008

Hello, list.
I have set like below at varnishd 1.1.2  and works well.
But like below just connect to port 80 and quit, we can see all headers.
Any idea?
# telnet 80Trying to character is '^]'.quit
HTTP/1.0 400 Bad RequestServer: VarnishRetry-After: 0Content-Type: text/html; charset=utf-8Content-Length: 428Date: Mon, 07 Jan 2008 11:42:33 GMTX-Varnish: 1556702737Age: nanVia: 1.1 varnishConnection: keep-alive

Date: Thu, 13 Dec 2007 16:23:02 -0800From: jbittman at chewcorp.comTo: dwetzel at nerim.netSubject: Re: hiding varnish headers from requestsCC: varnish-misc at projects.linpro.noEdit 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 fromputing headers like :X-varnishVia: 1.1 varnishin 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 listvarnish-misc at projects.linpro.nohttp://projects.linpro.no/mailman/listinfo/varnish-misc -- Jobe BittmanChief Network ArchitectZenGarden, Inc.(858) 200-6099 
MSN 메신저의 차세대 버전, Windows Live Messenger!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20080107/c8bf5183/attachment-0001.html>

More information about the varnish-misc mailing list