Removing Headers

Stig Sandbeck Mathisen ssm at
Tue Nov 18 09:44:53 CET 2008

On Tue, Nov 18, 2008 at 01:54:58PM +0530, Paras Fadte wrote:
> Hi,
> Can response headers like "X-Varnish" and "Via" be removed ?


The subroutine you are looking for is "vcl_deliver", the headers are available
as resp.http.<header>, they can be removed with the "remove" keyword.

See the vcl(7) man page.

Stig Sandbeck Mathisen <ssm at>
Redpill Linpro AS - Changing the Game
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <>

More information about the varnish-misc mailing list