diff options
| author | Ralph Bean <rbean@redhat.com> | 2017-02-01 12:36:19 +0000 |
|---|---|---|
| committer | Ralph Bean <rbean@redhat.com> | 2017-02-01 12:36:25 +0000 |
| commit | be699ca7d0f30b24833ec329ebdb14c6f52cd8fc (patch) | |
| tree | 5917b72cbb2d315c9a1f1f0e03b6cbe772ac1c9e /roles/haproxy | |
| parent | 7f1c1e66120ba3fff770f6c4f3d21b3cf1eb4d0d (diff) | |
| download | ansible-be699ca7d0f30b24833ec329ebdb14c6f52cd8fc.tar.gz ansible-be699ca7d0f30b24833ec329ebdb14c6f52cd8fc.tar.xz ansible-be699ca7d0f30b24833ec329ebdb14c6f52cd8fc.zip | |
stg proxy configuration for mbs.
Diffstat (limited to 'roles/haproxy')
| -rw-r--r-- | roles/haproxy/templates/haproxy.cfg | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index 058147e33..ddc680286 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -413,6 +413,16 @@ listen kojipkgs 0.0.0.0:10062 option httpchk GET / {% endif %} + +{% if env == "staging" %} +listen mbs 0.0.0.0:10063 + balance hdr(appserver) + server mbs-frontend01 mbs-frontend01:80 check inter 20s rise 2 fall 3 + server mbs-frontend02 mbs-frontend02:80 check inter 20s rise 2 fall 3 + option httpchk GET /module-build-service/1/module-builds/ +{% endif %} + + # Apache doesn't handle the initial connection here like the other proxy # entries. This proxy also doesn't use the http mode like the others. # stunnel should be sitting on port 9939 (public) and redirecting |
