Skip to content

Commit

Permalink
Merge pull request #64 from magenbrot/master
Browse files Browse the repository at this point in the history
move use_backend below redirect to avoid warnings
  • Loading branch information
goldyfruit authored Jun 15, 2022
2 parents a09ba4c + 2572528 commit 356253b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions templates/etc/haproxy/haproxy-frontend.cfg.j2
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,6 @@ frontend {{ name }}
{% if value.rate_limit_sessions is defined %}
rate-limit sessions {{ value.rate_limit_sessions }}
{% endif %}
{% if value.use_backends is defined %}
{% for use_backend in value.use_backends %}
use_backend {{ use_backend }}
{% endfor %}
{% endif %}
{% if value.redirects is defined %}
{% for redirect in value.redirects %}
redirect {{ redirect }}
Expand All @@ -108,6 +103,11 @@ frontend {{ name }}
timeout {{ timeout }}
{% endfor %}
{% endif %}
{% if value.use_backends is defined %}
{% for use_backend in value.use_backends %}
use_backend {{ use_backend }}
{% endfor %}
{% endif %}
{% if value.default_backend is defined %}
default_backend {{ value.default_backend }}
{% endif %}
Expand Down

0 comments on commit 356253b

Please sign in to comment.