🐛: fix v4 whitelist
This commit is contained in:
@@ -60,7 +60,11 @@ frontend https
|
||||
{% for hostname in hostvars[server]['web_hostname'] | sort %}
|
||||
## {{ hostname }} configuration
|
||||
acl host_{{ hostname }} req.ssl_sni -i {{ hostname }}
|
||||
use_backend https_{{ server }} if host_{{ hostname }}
|
||||
{% if hostname == "btf.mateu.be" %}
|
||||
acl network_allowed_{{ hostname }} src 88.175.123.77
|
||||
{% endif %}
|
||||
use_backend https_{{ server }} if host_{{ hostname }}{% if hostname == "btf.mateu.be" %} network_allowed_{{ hostname }}{% endif %}
|
||||
|
||||
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user