Merge pull request #67 from KerkhoffTechnologies/frontend_add_timeouts

Add timeouts handling to frontend section of template
This commit is contained in:
John Keates 2017-06-21 21:54:57 +02:00 committed by GitHub
commit 1c29ef813d

View file

@ -374,6 +374,11 @@ frontend {{ frontend.get('name', frontend_name) }}
{%- if 'maxconn' in frontend %}
maxconn {{ frontend.maxconn }}
{%- endif %}
{%- if 'timeouts' in frontend %}
{%- for timeout in frontend.timeouts %}
timeout {{ timeout }}
{%- endfor %}
{%- endif %}
{%- if 'options' in frontend %}
{{- render_list_of_dictionaries('option', frontend.options) }}
{%- endif %}