Skip to content
Snippets Groups Projects
Commit df9d889e authored by jurgenhaas's avatar jurgenhaas
Browse files

Let the crm lists work with wildcards, i.e. only parts of the hostname need to match

parent 7cfb1ac5
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment