summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 }}