From 23dd429084af95f4d508973a55857ab867dfa768 Mon Sep 17 00:00:00 2001 From: hoonetorg Date: Tue, 1 Dec 2015 18:32:19 +0100 Subject: [PATCH] timeouts for listeners --- haproxy/templates/haproxy.jinja | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/haproxy/templates/haproxy.jinja b/haproxy/templates/haproxy.jinja index 232dd55..f6d5728 100644 --- a/haproxy/templates/haproxy.jinja +++ b/haproxy/templates/haproxy.jinja @@ -283,6 +283,11 @@ listen {{ listener.get('name', listener_name) }} {%- if 'maxconn' in listener %} maxconn {{ listener.maxconn }} {%- endif %} + {%- if 'timeouts' in listener %} + {%- for timeout in listener.timeouts %} + timeout {{ timeout }} + {%- endfor %} + {%- endif %} {%- if 'options' in listener %} {%- if listener.options is string %} option {{ listener.options }}