Skip to content

Commit

Permalink
Merge pull request Oefenweb#128 from floored1585/global_raw_opts_fix
Browse files Browse the repository at this point in the history
fixes global_raw_options being placed in peers section
  • Loading branch information
tersmitten authored Nov 30, 2021
2 parents 2305425 + 1c149dd commit 3a3aea1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/etc/haproxy/global.cfg.j2
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@
{% for option in haproxy_global_option | default([]) %}
{{ option }}
{% endfor %}
{% for line in haproxy_global_raw_options | default([]) %}
{{ line }}
{% endfor %}
{% for peers in haproxy_global_peers | default([]) %}
peers {{ peers.name }}
{% for peer in peers.peers | default([]) %}
peer {{ peer.name }} {{ peer.listen }}
{% endfor %}
{% endfor %}
{% for line in haproxy_global_raw_options | default([]) %}
{{ line }}
{% endfor %}

0 comments on commit 3a3aea1

Please sign in to comment.