From fe732ecadddaf035a98a36dd177c2925eac247d5 Mon Sep 17 00:00:00 2001 From: Akis Kesoglou Date: Tue, 16 Oct 2018 22:57:05 +0200 Subject: [PATCH] Fix proxy config for Redis --- haproxy/haproxy.cfg | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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