summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-04-06 19:01:56 +0300
committerLars Wirzenius <liw@liw.fi>2018-04-06 19:01:56 +0300
commit3de5c211b5a19b879edc32357b2e9a83361a31d7 (patch)
tree72c2be904287892620ea85f236cee8284f257b44 /roles
parent14817b4b834c5b1390e01cb619d2819d843ec142 (diff)
downloadick2-ansible-3de5c211b5a19b879edc32357b2e9a83361a31d7.tar.gz
Add: haproxy route for Qvisqve
Diffstat (limited to 'roles')
-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 5d41bef..91fd1b1 100644
--- a/roles/haproxy/templates/haproxy.cfg.j2
+++ b/roles/haproxy/templates/haproxy.cfg.j2
@@ -37,9 +37,11 @@ frontend http-in
rspadd Strict-Transport-Security:\ max-age=15768000
acl blobs path_beg /blobs
+ acl token path_beg /token
acl any method GET HEAD POST PUT DELETE
use_backend artifact_store if blobs
+ use_backend qvisqve if token
use_backend controller if any
backend controller
@@ -47,3 +49,6 @@ backend controller
backend artifact_store
server artifact_store_1 127.0.0.1:{{ artifact_store_port }}
+
+backend qvisqve
+ server qvisqve_1 127.0.0.1:{{ qvisqve_port }}