What error do you get? Removing HTTP response headers is still supported in 4.x as far as I can remember.<br><br>On Sunday, 5 July 2015, Sami Mäntysaari <<a href="mailto:sm@sami-mantysaari.com">sm@sami-mantysaari.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I would like to hide the fact that my service is using an varnish cache.<br>
How can I do so as every guide I have found has been for the 3.0<br>
version, but not for 4.0?<br>
<br>
sub vcl_deliver {<br>
remove resp.http.Via;<br>
remove resp.http.X-Whatever;<br>
remove resp.http.X-Powered-By;<br>
remove resp.http.X-Varnish;<br>
remove resp.http.Age;<br>
remove resp.http.Server;<br>
set resp.http.Server = "TFE";<br>
set resp.http.X-Powered-By = "Curiosity";<br>
}<br>
<br>
That for instance gives me an error.<br>
<br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'varnish-misc@varnish-cache.org')">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
</blockquote><br><br>-- <br><br>