diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-04-30 20:37:33 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-04-30 20:37:33 +0300 |
commit | 50fd7c57e6ad50c3354c3f3802f7da3b84c928c8 (patch) | |
tree | a9f0c1c37b2bb1898049560e937500dd79fc9aeb | |
parent | 23dbb0de5de2ff52eef930b68af6322c28e73b66 (diff) | |
download | ick2-ansible-50fd7c57e6ad50c3354c3f3802f7da3b84c928c8.tar.gz |
Add: ns to haproxy.cfg
-rw-r--r-- | roles/haproxy/templates/haproxy.cfg.j2 | 5 |
1 files changed, 5 insertions, 0 deletions
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 }} |