From 50fd7c57e6ad50c3354c3f3802f7da3b84c928c8 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 30 Apr 2018 20:37:33 +0300 Subject: Add: ns to haproxy.cfg --- roles/haproxy/templates/haproxy.cfg.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/haproxy/templates/haproxy.cfg.j2 b/roles/haproxy/templates/haproxy.cfg.j2 index 91fd1b1..5f4734b 100644 --- a/roles/haproxy/templates/haproxy.cfg.j2 +++ b/roles/haproxy/templates/haproxy.cfg.j2 @@ -38,8 +38,10 @@ frontend http-in acl blobs path_beg /blobs acl token path_beg /token + acl notify path_beg /notify acl any method GET HEAD POST PUT DELETE + use_backend notification_service if notify use_backend artifact_store if blobs use_backend qvisqve if token use_backend controller if any @@ -52,3 +54,6 @@ backend artifact_store backend qvisqve server qvisqve_1 127.0.0.1:{{ qvisqve_port }} + +backend notification_service + server notify_1 127.0.0.1:{{ notification_service_port }} -- cgit v1.2.1