From d5c581e5a37075eb2b99ad24d7a367f42461f54a Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen@paragon-es.de>
Date: Fri, 18 Mar 2016 13:03:47 +0100
Subject: [PATCH] Bugfix

---
 templates/haproxy_cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/haproxy_cfg b/templates/haproxy_cfg
index 05741d8..5ef4c83 100644
--- a/templates/haproxy_cfg
+++ b/templates/haproxy_cfg
@@ -54,7 +54,7 @@ frontend http_in
   http-request deny if blockedip
 {% if kibana_users is defined %}
   acl kibana_present hdr_dom(host) -i '{{ kibana_domain|default(inventory_hostname) }}'
-  use_backend backend_redirect_ssl
+  use_backend backend_redirect_ssl if kibana_present
 {% endif %}
 {% if varnish_host|default(false) %}
   acl static_content path_end .jpg .jpeg .gif .png .ico .swf .css .js .htm .html
-- 
GitLab