diff --git a/templates/haproxy_cfg b/templates/haproxy_cfg
index d93bab9adad0e0a43ff4d1f05cd9729658dee55d..4e49002673c5fce2cbeaf6278582f11c12a4b6f7 100644
--- a/templates/haproxy_cfg
+++ b/templates/haproxy_cfg
@@ -91,7 +91,7 @@ frontend http_in
   acl domain_in_{{host}} hdr(host) -i -n -f /etc/haproxy/{{host}}.list
   use_backend backend_{{host}} if domain_in_{{host}}
 {% if hostvars[host].proxy_crm_domains is defined %}
-  acl crm_domain_in_{{host}} hdr(host) -i -n -f /etc/haproxy/{{host}}.crm.list
+  acl crm_domain_in_{{host}} hdr_dom(host) -i -n -f /etc/haproxy/{{host}}.crm.list
   use_backend backend_{{host}} if crm_domain_in_{{host}}
 {% endif %}
   acl redirect_ssl_{{host}} hdr(host) -i -n -f /etc/haproxy/{{host}}.ssl.list