diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-12-16 19:44:06 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-12-16 19:44:06 +0200 |
commit | 1dc1abf9580621c73e3116accc9e2a067ef21f57 (patch) | |
tree | 5e144ac55d2b1537fbcbbe68fc8dc104c5aae8aa /roles/ick-controller | |
parent | 31b96648c5dc6bf6527a4862c7eb0528a02562d6 (diff) | |
download | ick2-ansible-1dc1abf9580621c73e3116accc9e2a067ef21f57.tar.gz |
Add: blob service to haproxy
Diffstat (limited to 'roles/ick-controller')
-rw-r--r-- | roles/ick-controller/templates/haproxy.cfg.j2 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/ick-controller/templates/haproxy.cfg.j2 b/roles/ick-controller/templates/haproxy.cfg.j2 index 0772a4b..e33b6e6 100644 --- a/roles/ick-controller/templates/haproxy.cfg.j2 +++ b/roles/ick-controller/templates/haproxy.cfg.j2 @@ -36,9 +36,14 @@ frontend http-in rspadd Strict-Transport-Security:\ max-age=15768000 + acl blobs path_beg /blobs acl any method GET HEAD POST PUT DELETE + use_backend blob_service if blobs use_backend ick_controller if any backend ick_controller server ick_controller_1 127.0.0.1:12765 + +backend blob_service + server blob_service_1 127.0.0.1:12766 |