summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-02-09 17:13:50 +0200
committerLars Wirzenius <liw@liw.fi>2018-02-10 18:25:24 +0200
commit5f4c47620dbfb70c64bea24e8a5069ddae734d24 (patch)
treee0cb1a6d475b2cfad8ed4d15c6887663f1c3b719 /roles
parent88e613d1aa1858f5027cff721e812f0efad71450 (diff)
downloadick2-ansible-5f4c47620dbfb70c64bea24e8a5069ddae734d24.tar.gz
Fix: haproxy conf should access via localhost
Diffstat (limited to 'roles')
-rw-r--r--roles/haproxy/templates/haproxy.cfg.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/haproxy/templates/haproxy.cfg.j2 b/roles/haproxy/templates/haproxy.cfg.j2
index 7039b61..b5eab39 100644
--- a/roles/haproxy/templates/haproxy.cfg.j2
+++ b/roles/haproxy/templates/haproxy.cfg.j2
@@ -43,7 +43,7 @@ frontend http-in
use_backend controller if any
backend controller
- server controller_1 {{ controller_domain }}:{{ controller_port }}
+ server controller_1 127.0.0.1:{{ controller_port }}
backend blob_service
- server blob_service_1 {{ blob_service_domain }}:{{ blob_service_port }}
+ server blob_service_1 127.0.0.1:{{ blob_service_port }}