Skip to content

Commit

Permalink
Consistency changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed Dec 4, 2017
1 parent c514b83 commit d370604
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/etc/haproxy/frontend.cfg.j2
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ frontend {{ frontend.name }}
no option {{ option }}
{% endfor %}


{% if frontend.logformat is defined %}
log-format {{ frontend.logformat }}
{% endif %}

{% if frontend.no_log | default(false) == true %}
no log
{% endif %}
Expand All @@ -60,10 +60,12 @@ frontend {{ frontend.name }}
http-response {{ http_response.action }}{% if http_response.param is defined %} {{ http_response.param }}{% endif %}{% if http_response.cond is defined %} {{ http_response.cond }}{% endif %}

{% endfor %}

{% for tcp_request in frontend.tcp_request | default([]) %}
tcp-request {{ tcp_request.action }}{% if tcp_request.param is defined %} {{ tcp_request.param }}{% endif %}{% if tcp_request.cond is defined %} {{ tcp_request.cond }}{% endif %}

{% endfor %}

{% for rspadd in frontend.rspadd | default([]) %}
rspadd {{ rspadd.string }}{% if rspadd.cond is defined %} {{ rspadd.cond }}{% endif %}

Expand Down

0 comments on commit d370604

Please sign in to comment.