From 687fb7da10aaaf5caf23d2bf17a5b389ec427676 Mon Sep 17 00:00:00 2001 From: Alexander Kukushkin Date: Thu, 25 Jun 2015 14:17:51 +0200 Subject: [PATCH] Remove haproxy_status.sh and change haproxy.cfg to work directly with the governor --- README.md | 2 -- haproxy.cfg | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ad89b109..b09b75b1 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,6 @@ We provide a haproxy configuration, which will give your application a single en ``` > haproxy -f haproxy.cfg -> sh haproxy_status.sh 127.0.0.1 5432 15432 -> sh haproxy_status.sh 127.0.0.1 5433 15433 ``` ``` diff --git a/haproxy.cfg b/haproxy.cfg index 2f794acd..c0a959d9 100644 --- a/haproxy.cfg +++ b/haproxy.cfg @@ -17,5 +17,5 @@ frontend ft_postgresql backend bk_db option httpchk GET - server postgresql_127.0.0.1_5432 127.0.0.1:5432 maxconn 100 check port 15432 - server postgresql_127.0.0.1_5433 127.0.0.1:5433 maxconn 100 check port 15433 + server postgresql_127.0.0.1_5432 127.0.0.1:5432 maxconn 100 check port 8008 + server postgresql_127.0.0.1_5433 127.0.0.1:5433 maxconn 100 check port 8009