Skip to content

Commit

Permalink
allow ACLs in stats
Browse files Browse the repository at this point in the history
  • Loading branch information
magenbrot committed Jun 8, 2022
1 parent 346d95d commit 4b05b3e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/etc/haproxy/haproxy-stats.cfg.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ listen stats
{% endif %}
mode http
maxconn 10
{% if haproxy_stats_acls is defined and haproxy_stats_acls|length %}
{% for acl in haproxy_stats_acls %}
acl {{ acl }}
{% endfor %}
{% endif %}
stats enable
{% for opt in haproxy_stats_options %}
stats {{ opt }}
Expand Down

0 comments on commit 4b05b3e

Please sign in to comment.