diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index 762e3d9d71..4420927f87 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -642,6 +642,15 @@ backend odcs-backend server odcs-frontend01 odcs-frontend01:80 check inter 20s rise 2 fall 3 option httpchk GET /api/1/composes/ +frontend freshmaker-frontend + bind 0.0.0.0:10067 + default_backend freshmaker-backend + +backend freshmaker-backend + balance hdr(appserver) + server freshmaker-frontend01 freshmaker-frontend01:80 check inter 20s rise 2 fall 3 + option httpchk GET /api/1/builds/ + # 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