-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sounds good. So I guess there is no graceful restart or the like at the moment. I'm just worried for the stats etc that I'd be loosing when restarting too often.
Am Mo 09 Sep 2013 18:09:39 CEST schrieb Willy Tarreau: > 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 > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJSLf8/AAoJEGMwkysX8CInYoIH/RPs6eLKOYGErBMlWRcTcovC N5Qco5S3pW8ofvVJWMAnFMfJCHX+T7354ME6gt7ofYtpDL2NR6GUFV+H6xO4xyp/ dD3sC08KfOQCPlxxeb/EZnsuZnlONXHl6bfikMAV+EjWNvTfjntttcsY5Mk4an9M L4erDNRz6RhdJfV38wCOc6KkvFD5nDrCBuWWQqWicieyhUGpTZym3ZvttCFWyfdj pxmNaatWF6I6D+k87q7KcpujuM7HjYm6x66apcB5O+LFmUAiGa0Is/A8j2JnGw1V KgxyrCtltNyHM7b/IegEV8zUbiJRS5tj2cBsPWEhrzgBUGYPPazP+e2cFtYrrv4= =FgHY -----END PGP SIGNATURE-----

