diff --git a/templates/haproxy_cfg b/templates/haproxy_cfg
index 05741d81111d4ec11c9a2b0b24a604da3a19e609..5ef4c83da7be5e3d5d31b050ad54ef7a7ba9390f 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