Add timeouts handling to frontent. Was only in listen

This commit is contained in:
KTI - Richard Clark 2017-06-21 21:38:08 +02:00
parent d815b4615a
commit 2f2e0deca6

View file

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