Allow root domains
This commit is contained in:
parent
7100274321
commit
70eb2a6e57
|
@ -49,7 +49,8 @@ frontend http
|
|||
acl root url /
|
||||
|
||||
{% for domains in haproxy.public %}
|
||||
use_backend backend-{{ domains.service }} if { hdr_beg(host) -i {{ domains.domain }} }
|
||||
use_backend backend-{{ domains.service }}{% if domains.domain != "root" %} if { hdr_beg(host) -i {{ domains.domain }} }{% else %} if { hdr(host) -i redxen.eu }{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
{% for pfred in haproxy.redirect.prefix %}
|
||||
|
|
Reference in New Issue