timeouts for listeners

This commit is contained in:
hoonetorg 2015-12-01 18:32:19 +01:00
parent 186be19c27
commit 23dd429084

View file

@ -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 }}