RE: http-response add-header

2018-06-25 Thread mlist
in reliance on it. If you have received this email in error, please notify the sender and delete this email from your system. -Original Message- From: Aleksandar Lazic Sent: lunedì 25 giugno 2018 11:40 To: mlist ; 'Jarno Huuskonen' Cc: 'haproxy@formilux.org&#x

Re: http-response add-header

2018-06-25 Thread Aleksandar Lazic
ve received this email in error, please notify the sender and delete this > email from your system. > > > > > > > -Original Message----- > From: Jarno Huuskonen > Sent: lunedì 25 giugno 2018 09:01 > To: mlist > Cc: 'haproxy@formilux.org' > Subject: Re: ht

RE: http-response add-header

2018-06-25 Thread mlist
f you have received this email in error, please notify the sender and delete this email from your system. -Original Message- From: Jarno Huuskonen Sent: luned? 25 giugno 2018 09:01 To: mlist Cc: 'haproxy@formilux.org' Subject: Re: http-response add-header Hi, On Sat, Jun 23,

Re: http-response add-header

2018-06-25 Thread Jarno Huuskonen
Hi, On Sat, Jun 23, mlist wrote: > using this config no header is added to client from haproxy: > > acl is_test hdr_dom(host) -i www.url1.url2.com > > http-response add-header X-Custom-Header YES if is_test Most likely the host header is not available for the http-response/acl. For example wit

Re: http-response add-header and stats enable

2015-08-19 Thread Lukas Erlacher
Hi, On 08/19/2015 05:21 PM, Baptiste wrote: >> >> Hi, >> >> thanks for that info. Is there any way to make haproxy tell me these things? >> >> Luke >> > > Hi Luke, > > As I said, with the capture statement: > http://cbonte.github.io/haproxy-dconv/snapshot/configuration-1.6.html#http-request > >

Re: http-response add-header and stats enable

2015-08-19 Thread Baptiste
On Mon, Aug 17, 2015 at 10:35 AM, Lukas Erlacher wrote: >> >> >> Hi Lukas, >> >> Actually, you're setting response headers with data available only at >> the request time. This is not possible in HAProxy 1.5 >> This will be possible in HAProxy 1.6 using the capture statement. >> >> Baptiste >> > >

Re: http-response add-header and stats enable

2015-08-17 Thread Lukas Erlacher
Hi Lukas, Actually, you're setting response headers with data available only at the request time. This is not possible in HAProxy 1.5 This will be possible in HAProxy 1.6 using the capture statement. Baptiste Hi, thanks for that info. Is there any way to make haproxy tell me these things?

Re: http-response add-header and stats enable

2015-08-17 Thread Baptiste
On Mon, Aug 17, 2015 at 9:54 AM, Lukas Erlacher wrote: > Hello, > > I'm a new haproxy user (using haproxy 1.5) and I'm running into a few > hitches. > > I made a stats backend: > >> backend bk_stats >> log global >> mode http >> stats enable >> stats uri / >>