From 1b0742d15552f8c09e3c96577eb55f339552b1be Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Fri, 2 Feb 2018 14:57:11 +0000 Subject: [PATCH] Add freshmaker to haproxy. --- roles/haproxy/templates/haproxy.cfg | 9 +++++++++ 1 file changed, 9 insertions(+) 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