From 7841f4eccbce603ede2745217cab728d76c05e53 Mon Sep 17 00:00:00 2001
From: Michiel de Jong <michiel@unhosted.org>
Date: Wed, 8 Oct 2014 11:39:29 +0100
Subject: [PATCH] fix https template

---
 templates/haproxy-cert.part | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/haproxy-cert.part b/templates/haproxy-cert.part
index b251629..a6b9fd9 100644
--- a/templates/haproxy-cert.part
+++ b/templates/haproxy-cert.part
@@ -1,4 +1,4 @@
 
 # %HOSTNAME%:
-    acl is_%HOSTNAME% req_ssl_sni -i %HOSTNAME%
-    use_backend %HOSTNAME% if is_%HOSTNAME%
+    acl https_%HOSTNAME% req_end(host) -i %HOSTNAME%
+    use_backend %HOSTNAME% if https_%HOSTNAME%
-- 
GitLab