Different services on the same host, so it has also different health checks, balance policies and so on..

On 19.12.2016 15:46, ge...@riseup.net wrote:
On 16-12-19 08:39:17, Stephan Müller wrote:
Another point I encounter frequently, I use the same server (IPs) in
multiple backends, this duplicates configuration.

SRV1_IP=192.168.0.1
CHECK_INTER=10000

backend foo
  server service1 $SRV1_IP check inter $CHCECK_INTER

backend bar
  server service2 $SRV1_IP check inter $CHCECK_INTER

Why not use the same backend then?

backend foo_bar
  server service1_2 $SRV1_IP check inter $CHCECK_INTER


Reply via email to