HAProxy dynamic acl -
in haproxy possible write acl virtual hosts redirection (one rule virtual hosts)
example say
if header contains backend-name.domain.com
---> use backend name backend-name
it should work like,
a.domain.com -----> backend b.domain.com -----> backend b
with out explicitly writing acls , b separately.
here need 1 acl domain based routing, i'm using wildcard dns sub-domains of domain.com resolve haproxy ip.
i'm dynamically adding , removing back-ends, hard write acls every new front-end using script.
thanks in advance.
Comments
Post a Comment