summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-06-13 22:41:55 +0300
committerLars Wirzenius <liw@liw.fi>2018-06-13 22:41:55 +0300
commitfa108b1dcdd66a20ae67fb351c6fd008563f6a6e (patch)
treeb8f47054479bdd8e8ebc9788129ed81a39334569
parent0c9758c053fa780c408e2ab8b6f795973421c362 (diff)
downloadick2-ansible-fa108b1dcdd66a20ae67fb351c6fd008563f6a6e.tar.gz
Change: direct /debian to apache on port 8080
-rw-r--r--roles/haproxy/templates/haproxy.cfg.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/haproxy/templates/haproxy.cfg.j2 b/roles/haproxy/templates/haproxy.cfg.j2
index a028ad1..8117d8a 100644
--- a/roles/haproxy/templates/haproxy.cfg.j2
+++ b/roles/haproxy/templates/haproxy.cfg.j2
@@ -39,13 +39,18 @@ frontend http-in
acl blobs path_beg /blobs
acl token path_beg /token
acl notify path_beg /notify
+ acl debian path_beg /debian
acl any method GET HEAD POST PUT DELETE
+ use_backend apache if debian
use_backend notification_service if notify
use_backend artifact_store if blobs
use_backend qvisqve if token
use_backend controller if any
+backend apache
+ server apache_1 127.0.0.1:8080
+
backend controller
server controller_1 127.0.0.1:{{ controller_port }}