Andrew Langhorn andrew.langhorn at digital.cabinet-office.gov.uk
Tue Jun 9 18:42:53 CEST 2015

I work on a stack which does something similar, and I blogged about it a
while ago: http://ajlanghorn.com/2015/05/varnish-includes/

In your case, you should be able to do copy a good chunk of that, but
change the return to the lookup function for beresp.http.X-Frame-Options =
"value" or something.

Let me know if you'd like me to expand on that.

On 9 June 2015 at 17:28, Andrew Kelly <akelly at snafu.de> wrote:

> Hi,
> is it possible to either set or unset the X-Frame-Options meta header
> based on the IP address of the visiting client?
> Many thanks in advance,
> Andy
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Andrew Langhorn
Web Operations
Government Digital Service

e: andrew.langhorn at digital.cabinet-office.gov.uk
t: +44 (0)7810 737375
a: 6th Floor, Aviation House, 125 Kingsway, London, WC2B 6NH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20150609/7491dc0d/attachment.html>

More information about the varnish-misc mailing list