Running 4.3-stable.

I am trying to setup relayd as a reverse proxy and have a fail back table. When I enable the fail back table, relayd complains table already specified.


# cat /tmp/relay.test.conf
## Macros
#
relayd_addr="127.0.0.1"
relayd_reverse_port="8080"

## Global Options
#
prefork 10
#interval 10
#timeout 5000
#log updates

www1=192.168.200.13
backupwww=127.0.0.1


table <webhosts> { $www1 }

table <outoforder> disable { $backupwww }

relay reverse-proxy {
    listen on $relayd_addr port $relayd_reverse_port

forward to <webhosts> port 80 mode loadbalance check http "/" host www.balius.com code 200
    forward to <outoforder> port 80 check http "/" code 200
}




# relayd -vv -n -f /tmp/relay.test.conf
/tmp/relay.test.conf:25: table already specified
no redirections, nothing to do


# cat /tmp/relay.test.conf
## Macros
#
relayd_addr="127.0.0.1"
relayd_reverse_port="8080"

## Global Options
#
prefork 10
#interval 10
#timeout 5000
#log updates

www1=192.168.200.13
backupwww=127.0.0.1


table <webhosts> { $www1 }

table <outoforder> disable { $backupwww }

relay reverse-proxy {
    listen on $relayd_addr port $relayd_reverse_port

forward to <webhosts> port 80 mode loadbalance check http "/" host www.balius.com code 200
#    forward to <outoforder> port 80 check http "/" code 200
}


# relayd -vv -n -f /tmp/relay.test.conf
configuration OK


Did I do something wrong?

Reply via email to