From 2f2e0deca6cf49ebd0695e09959a73157d3d6c19 Mon Sep 17 00:00:00 2001 From: KTI - Richard Clark Date: Wed, 21 Jun 2017 21:38:08 +0200 Subject: [PATCH] Add timeouts handling to frontent. Was only in listen --- haproxy/templates/haproxy.jinja | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/haproxy/templates/haproxy.jinja b/haproxy/templates/haproxy.jinja index 752550b..783dec9 100644 --- a/haproxy/templates/haproxy.jinja +++ b/haproxy/templates/haproxy.jinja @@ -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 %}