Hello all,
I am using ATS as a reverse proxy. My setup looks like this:
<Internet> --> <ATS> ---> <backend01>
|---> <backend02>
|---> <backend03>
Since load balancer plugin is broken, I am using parent caching with
multiple parents to balance between backends, for example:
dest_ip=1.1.1.1 parent="2.2.2.2:80; 3.3.3.3:80; 4.4.4.4:80"
round_robin=true go_direct=false
Now I would like to use a different set of parents for the same dest_ip
but for different port/scheme (for https offloading). In the docs I have
read about secondary specifiers. So I tried:
dest_ip=1.1.1.1 port=80 parent="2.2.2.2:80; 3.3.3.3:80; 4.4.4.4:80"
round_robin=true go_direct=false
dest_ip=1.1.1.1 port=443 parent="2.2.2.2:443; 3.3.3.3:443; 4.4.4.4:443"
round_robin=true go_direct=false
But this is not working. The rule which is second always takes
precedence for the given dest_ip. Is this a bug or am I doing something
wrong?
--
Best regards,
Tomasz Kuzemko
[email protected]