summaryrefslogtreecommitdiff
path: root/roles/haproxy/templates/haproxy.cfg.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/haproxy/templates/haproxy.cfg.j2')
-rw-r--r--roles/haproxy/templates/haproxy.cfg.j215
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/haproxy/templates/haproxy.cfg.j2 b/roles/haproxy/templates/haproxy.cfg.j2
index 8117d8a..0a6ec70 100644
--- a/roles/haproxy/templates/haproxy.cfg.j2
+++ b/roles/haproxy/templates/haproxy.cfg.j2
@@ -36,21 +36,36 @@ frontend http-in
rspadd Strict-Transport-Security:\ max-age=15768000
+ acl ickweb path_beg /web
acl blobs path_beg /blobs
acl token path_beg /token
+ acl login path_beg /login
+ acl auth path_beg /auth
+ acl clients path_beg /clients
+ acl users path_beg /users
+ acl applications path_beg /applications
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 ickweb if ickweb
use_backend notification_service if notify
use_backend artifact_store if blobs
use_backend qvisqve if token
+ use_backend qvisqve if login
+ use_backend qvisqve if auth
+ use_backend qvisqve if clients
+ use_backend qvisqve if users
+ use_backend qvisqve if applications
use_backend controller if any
backend apache
server apache_1 127.0.0.1:8080
+backend ickweb
+ server ickweb_1 127.0.0.1:{{ ickweb_port }}
+
backend controller
server controller_1 127.0.0.1:{{ controller_port }}