diff options
Diffstat (limited to 'roles/haproxy/files/haproxy.cfg')
-rw-r--r-- | roles/haproxy/files/haproxy.cfg | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/haproxy/files/haproxy.cfg b/roles/haproxy/files/haproxy.cfg index 4bb9ebf..5c450c4 100644 --- a/roles/haproxy/files/haproxy.cfg +++ b/roles/haproxy/files/haproxy.cfg @@ -36,8 +36,14 @@ frontend http-in rspadd Strict-Transport-Security:\ max-age=15768000 + acl as path_beg /blobs/ + use_backend as if as + acl api path_beg / use_backend api if api backend api server api_1 127.0.0.1:2222 + +backend as + server api_1 127.0.0.1:12766 |