Fix condition

This commit is contained in:
Dryusdan 2024-04-24 13:45:52 +02:00
parent 42863f02b0
commit 423db13505

View file

@ -19,7 +19,7 @@ frontend {{ frontend.name }}
{% endfor %}
{% endif %}
{% if haproxy_crowdsec is defined and haproxy_crowdsec -%}
{% if crowdsec_haproxy is defined and crowdsec_haproxy -%}
# Crowdsec bouncer >>>
stick-table type ip size 10k expire 30m # declare a stick table to cache captcha verifications
http-request lua.crowdsec_allow # action to identify crowdsec remediation