From 9ce9db2466bf9d1d396e0b2b1fa52cd3672bb08e Mon Sep 17 00:00:00 2001 From: Jakub Rohovsky Date: Tue, 12 Dec 2017 13:00:31 +0100 Subject: [PATCH] This patch enables haproxy stats by properly listening on address:port Change-Id: Ie285fcc34cda6c206dd7bef47faf1874c7ff93c4 Closes-Bug: 1737720 --- templates/haproxy.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/haproxy.cfg b/templates/haproxy.cfg index d19e4d8..8c29ae2 100644 --- a/templates/haproxy.cfg +++ b/templates/haproxy.cfg @@ -33,7 +33,8 @@ defaults timeout server 90000 {%- endif %} -listen stats {{ options.stat_port }} +listen stats + bind {{ options.local_host }}:{{ options.haproxy_stat_port }} mode http stats enable stats hide-version