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.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 }}