diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-08-05 17:23:51 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-08-05 17:23:51 +0300 |
commit | c0f9a32ae8f092b7ba552798ea1ae2f2fdd9666a (patch) | |
tree | f0059202115a952365785b5fb74edbf22bb0a992 /roles/haproxy/templates/haproxy.cfg.j2 | |
parent | a1203258d80afd0bfcc726011f39591974c7a7e3 (diff) | |
download | ick2-ansible-c0f9a32ae8f092b7ba552798ea1ae2f2fdd9666a.tar.gz |
Fix: how ickweb is started
Diffstat (limited to 'roles/haproxy/templates/haproxy.cfg.j2')
-rw-r--r-- | roles/haproxy/templates/haproxy.cfg.j2 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/roles/haproxy/templates/haproxy.cfg.j2 b/roles/haproxy/templates/haproxy.cfg.j2 index 8117d8a..0a6ec70 100644 --- a/roles/haproxy/templates/haproxy.cfg.j2 +++ b/roles/haproxy/templates/haproxy.cfg.j2 @@ -36,21 +36,36 @@ frontend http-in rspadd Strict-Transport-Security:\ max-age=15768000 + acl ickweb path_beg /web acl blobs path_beg /blobs acl token path_beg /token + acl login path_beg /login + acl auth path_beg /auth + acl clients path_beg /clients + acl users path_beg /users + acl applications path_beg /applications acl notify path_beg /notify acl debian path_beg /debian acl any method GET HEAD POST PUT DELETE use_backend apache if debian + use_backend ickweb if ickweb use_backend notification_service if notify use_backend artifact_store if blobs use_backend qvisqve if token + use_backend qvisqve if login + use_backend qvisqve if auth + use_backend qvisqve if clients + use_backend qvisqve if users + use_backend qvisqve if applications use_backend controller if any backend apache server apache_1 127.0.0.1:8080 +backend ickweb + server ickweb_1 127.0.0.1:{{ ickweb_port }} + backend controller server controller_1 127.0.0.1:{{ controller_port }} |