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