diff --git a/haproxy/haproxy.cfg b/haproxy/haproxy.cfg index 848689f..ff2af6a 100644 --- a/haproxy/haproxy.cfg +++ b/haproxy/haproxy.cfg @@ -87,18 +87,19 @@ backend vpn-devices frontend db mode tcp bind *:5432 - default_backend db + default_backend backend_db timeout client 1h -backend db +backend backend_db mode tcp server resin_db_1 db:5432 check port 5432 frontend redis mode tcp bind *:6379 - default_backend redis + default_backend backend_redis timeout client 1h -backend redis +backend backend_redis mode tcp + server resin_redis_1 redis:6379 check port 6379