Hi,

Today I tried upgrading to haproxy-ss-20130402 and this gave me a lot of problems.

I do something like:

# Web cluster
acl iscluster1-1-rl    hdr_sub(host) -i somehost.com anotherhost.com
acl iscluster1-1       hdr(host) -f /etc/haproxy/cluster1-1.txt
acl iscluster1-2       hdr(host) -f /etc/haproxy/cluster1-2.txt
acl iscluster1-2       hdr_sub(host) -i yetanotherhost.com
acl iscluster1-2       hdr_sub(host) -i doesiteverstop.com
acl iscluster1-2       hdr_sub(host) -i mostlikelynot.com
acl anothercluster     hdr(host) -i this.singledomain.com

use_backend     cluster1-1-rl  if iscluster1-1-rl
use_backend     cluster1-1     if iscluster1-1
use_backend     cluster1-2     if iscluster1-2
use_backend     anothercluster if anothercluster

default_backend cluster1-1

When using this config with ss-20130402 I do not get any traffic to cluster1-2. I didn't have enough time to do a proper debug since I was doing it in production ;-) I might have a better look at it this evening. It works fine with ss-20130125.

Greets,

Sander



Reply via email to