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

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -