Merge pull request #68 from stenstad/master

Add timeouts handling to backend section of template.
This commit is contained in:
John Keates 2017-10-11 16:05:23 +02:00 committed by GitHub
commit 0e697c67c9

View file

@ -472,6 +472,11 @@ backend {{ backend.get('name', backend_name) }}
{%- if 'balance' in backend %} {%- if 'balance' in backend %}
balance {{ backend.balance }} balance {{ backend.balance }}
{%- endif %} {%- endif %}
{%- if 'timeouts' in backend %}
{%- for timeout in backend.timeouts %}
timeout {{ timeout }}
{%- endfor %}
{%- endif %}
{%- if 'options' in backend %} {%- if 'options' in backend %}
{%- if backend.options is string %} {%- if backend.options is string %}
option {{ backend.options }} option {{ backend.options }}