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 / >>

http-response add-header and stats enable

2015-08-17 Thread Lukas Erlacher
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 / stats scope ft_submission stats scope bk_postfix And because I wanted