Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4760

Small help for the n00b - Dynamic rule

$
0
0

I want to have a dynamic rule that takes subdomain and uses that value to form a backend name connection; example

123.foo.bar = use backend 123_backend
234.foo.bar = use backend 234_backend

even more interesting alternative if it could use a dynamic lan domain naming…
123.foo.bar = use backend 123.foo.lan

else (no backend responding on that name) use default backend

I want to avoid using any mapfile (to avoid restart of Ha) and minimize manual administration, the general idea is to have 2-3 rules dynamically covering hundred of front/backends

I hope the question is not to stupid to be asked :slight_smile:

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4760


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>