Hi Jürgen,

On Mon, Sep 09, 2013 at 05:34:25PM +0200, Jürgen Haas wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> we have a lot of ACL patterns in external files and use that to push
> traffic to the various backends. As those patterns are changing quite
> frequently I wonder how I could make a running HAProxy daemon aware of
> those changes without restarting the whole process.
> 
> For clarification, this is what we have in the config file:
> 
> frontend http-in
>   bind *:80
>   acl domain_in_A hdr_dom(host) -i -f /var/proxy/a.list
>   use_backend backend_A if domain_in_A
>   acl domain_in_B hdr_dom(host) -i -f /var/proxy/b.list
>   use_backend backend_B if domain_in_B
>   acl domain_in_C hdr_dom(host) -i -f /var/proxy/c.list
>   use_backend backend_C if domain_in_C
> 
> In the files a.list, b.list and c.list we have a list of domain names
> and those lists get changed a lot and we do not want to restart
> haproxy daemon every time.
> 
> Is there a way to do that?

Not yet. It'ss in the todo list. The idea is to be able to add/remove
values from the CLI.

Regards,
Willy


Reply via email to