On Wed, Dec 10, 2014 at 1:39 PM, Philipp Kolmann
<kolm...@zid.tuwien.ac.at> wrote:
> Hi Baptiste,
>
> Am 10.12.14 um 12:37 schrieb Baptiste:
>>
>> Which version of HAProxy are you running? In 1.5, you can do: use-server
>> htc1 if { src 10.0.0.1 } add as many IPs as needed.
>
>
> Yes I am on 1.5 already. This use-Server directive is specified in the
> config file? or can I push this change via amdin-socket?

You must set it by configuration file, but you can update its content
by the stats socket or an HTTP request:
http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#add%20acl
http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#http-request
(http-request add-acl)

Cheers

Reply via email to