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
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
Cyril, that makes perfect sense but I wouldn't have thought of it. Thank
you for pointing me the right direction!
On Thu, Oct 1, 2015 at 4:39 PM, Cyril Bonté wrote:
> Hi,
>
> Le 01/10/2015 20:56, CJ Ess a écrit :
>
>> So I am trying to set some new rules - since I don't
3 matches
Mail list logo