Skip to content

Commit 1c29ef8

Browse files
authored
Merge pull request #67 from KerkhoffTechnologies/frontend_add_timeouts
Add timeouts handling to frontend section of template
2 parents d815b46 + 2f2e0de commit 1c29ef8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

haproxy/templates/haproxy.jinja

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,11 @@ frontend {{ frontend.get('name', frontend_name) }}
374374
{%- if 'maxconn' in frontend %}
375375
maxconn {{ frontend.maxconn }}
376376
{%- endif %}
377+
{%- if 'timeouts' in frontend %}
378+
{%- for timeout in frontend.timeouts %}
379+
timeout {{ timeout }}
380+
{%- endfor %}
381+
{%- endif %}
377382
{%- if 'options' in frontend %}
378383
{{- render_list_of_dictionaries('option', frontend.options) }}
379384
{%- endif %}

0 commit comments

Comments
 (0)