diff options
author | Lars Wirzenius <lwirzenius@wikimedia.org> | 2019-07-07 18:29:59 +0300 |
---|---|---|
committer | Lars Wirzenius <lwirzenius@wikimedia.org> | 2019-07-07 18:29:59 +0300 |
commit | bab01a58a170027e7fa7641deb6bec4006f4fcae (patch) | |
tree | 7120e45b034dcb20c3b6e4f4f36b455ef7ae0f49 /roles/haproxy/files/haproxy.cfg | |
parent | bb1219cbac19af472c3ee8c997b12c44a9111695 (diff) | |
download | wmf-gitlab-bab01a58a170027e7fa7641deb6bec4006f4fcae.tar.gz |
Add: artifact store
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 |