From d0e6cdf04c50ae24163df6151921af81b71e8f00 Mon Sep 17 00:00:00 2001 From: Ricky Elrod Date: Wed, 3 Aug 2016 07:34:38 +0000 Subject: [PATCH] try adding fas3 to haproxy stg? Signed-off-by: Ricky Elrod --- roles/haproxy/templates/haproxy.cfg | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index 45816b859b..aa19fbb5bf 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -315,6 +315,16 @@ listen pps 0.0.0.0:10051 option httpchk GET /pps {% endif %} +{% if env == "staging" %} +listen fas3 0.0.0.0:10052 + # These values are set extremely low so any issues are recovered from very + # quickly. Setting these higher will cause odd behavior in apps that + # depend on fas (like pkgdb, bodhi, etc) + balance hdr(appserver) + server fas3-01.stg fas3-01.stg:80 check inter 5s rise 1 fall 2 + option httpchk GET /fas3/ +{% 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