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:
> 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,
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
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...
More information about the varnish-misc