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

Override balance source with use-server

$
0
0

my haproxy version: HA-Proxy version 2.0.29-0ubuntu1.3 2023/02/13

I use balance source in my haproxy config.
for specific urls i want to use a specific backend server overriding this rule

use-server squidserver1 if { hdr(host),word(1,:slight_smile: -i -m beg jufi1 }
server squidserver1 xx.xx.xx.xx:3129 check port 3129 weight 50
use-server squidserver2 if { hdr(host),word(1,:slight_smile: -i -m beg jufi2 }
server squidserver2 yy…yy.yy.yy:3129 check port 3129 weight 50

This config always uses squidserver1
How can i debug if the acl matches.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4733

Trending Articles



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