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

Popular posts from this blog

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -