is there a way to rig thousands of haproxy backends without enumerating each one? I’ve been attempting to route using use-server and server based on a header value but have so far failed. I’ve been trying things like this:
1. # where X-Request-Proxy = http://example.internal:4180 2. backend default 3. use-server l2_backend if { hdr(X-Request-Proxy) -i 4180 } 4. server l2_backend %[hdr(X-Request-Proxy)] weight 0 I've asked a similar question in IRC to no avail!