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