Allow setting reqadd and reqirep
diff --git a/haproxy/files/haproxy.cfg b/haproxy/files/haproxy.cfg
index e3ad387..ee5e1e7 100644
--- a/haproxy/files/haproxy.cfg
+++ b/haproxy/files/haproxy.cfg
@@ -141,6 +141,12 @@
{%- for option in listen.get('options', []) %}
option {{ option }}
{%- endfor %}
+ {%- for reqadd in listen.get('reqadds', []) %}
+ reqadd {{ reqadd }}
+ {%- endfor %}
+ {%- for reqirep in listen.get('reqireps', []) %}
+ reqirep {{ reqirep }}
+ {%- endfor %}
{%- endif %}
{%- for server in listen.get('servers', []) %}
server {{ server.name }} {{ server.host }}:{{ server.port }} {{ server.get('params', '') }}