Re: HaProxy X-Frame-Options with SAMEORIGIN & ALLOW-FROM

2017-03-16 Thread Thomas Heil
Hi, On 16.03.2017 08:51, Jarno Huuskonen wrote: > Hi, > > On Thu, Mar 16, Devendra Joshi wrote: >> Any one one know how to set X-Frame-Options with SAMEORIGIN & ALLOW-FROM in >> HaProxy >> >> I added one setting in haproxy config file but showing error. &

Re: HaProxy X-Frame-Options with SAMEORIGIN & ALLOW-FROM

2017-03-16 Thread Jarno Huuskonen
Hi, On Thu, Mar 16, Devendra Joshi wrote: > acl main_site req.hdr(Host) -i http://www.abc.com Host headers don't usually have http:// (or https://) (or did email mailer add the http://). Usually I use hdr_dom(Host) -i www.abc.com > http-response add-header X-Frame-Options

Re: HaProxy X-Frame-Options with SAMEORIGIN & ALLOW-FROM

2017-03-16 Thread Devendra Joshi
106035 -- -- On 16 March 2017 at 13:21, Jarno Huuskonen <jarno.huusko...@uef.fi> wrote: > Hi, > > On Thu, Mar 16, Devendra Joshi wrote: > > Any one one know how to set X-Frame-Options with SAMEORIGIN & ALLOW-FROM > in > > HaProxy > > > > I added

Re: HaProxy X-Frame-Options with SAMEORIGIN & ALLOW-FROM

2017-03-16 Thread Jarno Huuskonen
Hi, On Thu, Mar 16, Devendra Joshi wrote: > Any one one know how to set X-Frame-Options with SAMEORIGIN & ALLOW-FROM in > HaProxy > > I added one setting in haproxy config file but showing error. > > acl main_site req.hdr(Host) http://www.abc.com > http-response a

HaProxy X-Frame-Options with SAMEORIGIN & ALLOW-FROM

2017-03-16 Thread Devendra Joshi
Hi All, I want to set X-Frame-Options to SAMEORIGIN but should be Ifram or access by one of our subdomain website. means i want to allow www.abc.com from oms.abc.com Any one one know how to set X-Frame-Options with SAMEORIGIN & ALLOW-FROM in HaProxy I added one setting in haproxy config