25 giugno 2018 09:01
> To: mlist mailto:ml...@apkappa.it>>
> Cc: 'haproxy@formilux.org' mailto:haproxy@formilux.org>>
> Subject: Re: http-response add-header
>
> Hi,
>
> On Sat, Jun 23, mlist wrote:
>> using this config no header is added to client fro
u 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, mlist wrote:
&
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/ac
Hi,
haproxy 1.8.10
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
We are sure “acl is_test hdr_dom(host) -i
www.url1.url2.com<http://www.url1.url2.com>” is match
So I am trying to set some new rules - since I don't have anything hand to
echo requests back to me, I'm using http-response add-header so I can
verify my rules work with curl.
Added to haproxy.cfg:
acl test_origin hdr(X-TEST-IP) -m ip -f /etc/haproxy/acl/test.acl
http-response add-header X
Hi,
Le 01/10/2015 20:56, CJ Ess a écrit :
So I am trying to set some new rules - since I don't have anything hand
to echo requests back to me, I'm using http-response add-header so I can
verify my rules work with curl.
Added to haproxy.cfg:
acl test_origin hdr(X-TEST-IP) -m ip -f /etc
ew rules - since I don't have anything hand
>> to echo requests back to me, I'm using http-response add-header so I can
>> verify my rules work with curl.
>>
>> Added to haproxy.cfg:
>>
>> acl test_origin hdr(X-TEST-IP) -m ip -f /etc/haproxy/acl/test.acl
>>
On Mon, Aug 17, 2015 at 10:35 AM, Lukas Erlacher erlac...@in.tum.de 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
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
Look for 'capture'
wanted to have users authed by ssl client certificate, I
put some http-response add-header statements into the frontend for
debugging:
frontend ft_stats
log global
mode http
bind 131.159.42.4:443 ssl crt myserver.combined.key.pem ca-file
mycafile.pem verify required no-sslv3
/
stats scope ft_submission
stats scope bk_postfix
And because I wanted to have users authed by ssl client certificate, I put
some http-response add-header statements into the frontend for debugging:
frontend ft_stats
log global
mode http
bind 131.159.42.4
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?
12 matches
Mail list logo