From 4a93cafb94cbb5acc561e35a49665690c3fa1edc Mon Sep 17 00:00:00 2001 From: Vaishali Pavashe Date: Fri, 14 Jul 2017 17:08:42 -0400 Subject: [PATCH] Enabling SSL for HAproxy stats WebUI. Change-Id: Iec57d7e7bf9767a5d9248670d79e0b3e8f8fb7c1 --- templates/haproxy.cfg.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/haproxy.cfg.j2 b/templates/haproxy.cfg.j2 index b9b7b41..b80b38a 100644 --- a/templates/haproxy.cfg.j2 +++ b/templates/haproxy.cfg.j2 @@ -37,7 +37,8 @@ defaults {% if haproxy_stats_enabled | bool %} listen stats - bind {{ haproxy_stats_bind_address }}:{{ haproxy_stats_port }} + bind {{ haproxy_stats_bind_address }}:{{ haproxy_stats_port }} {% if haproxy_ssl | bool %}ssl crt {{ haproxy_ssl_pem }} ciphers {{ haproxy_ssl_cipher_suite }}{% endif %} + mode http stats enable stats hide-version