From 2d6ccdbbe3114d07ac4d0c862c43d448770fe074 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Thu, 16 May 2019 11:50:52 +0200 Subject: [PATCH] Enable haproxy stats Signed-off-by: Patrick Uiterwijk --- files/communishift/haproxy.cfg | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/files/communishift/haproxy.cfg b/files/communishift/haproxy.cfg index f0e8c77055..015a4126ba 100644 --- a/files/communishift/haproxy.cfg +++ b/files/communishift/haproxy.cfg @@ -27,6 +27,15 @@ defaults timeout client 500s timeout server 500s +frontend stats-frontend + bind 0.0.0.0:8080 + default_backend stats-backend + +backend stats-backend + balance hdr(appserver) + stats enable + stats uri / + frontend os-masters-kapi mode tcp bind 38.145.48.40:6443