Fixed line break issue if listens.extra is a list
This commit is contained in:
parent
7d4313aaf8
commit
4abfac0eec
1 changed files with 2 additions and 1 deletions
|
@ -338,7 +338,8 @@ listen {{ listener.get('name', listener_name) }}
|
||||||
{%- if listener.extra is string %}
|
{%- if listener.extra is string %}
|
||||||
{{ listener.extra }}
|
{{ listener.extra }}
|
||||||
{%- else %}
|
{%- else %}
|
||||||
{%- for line in listener.extra %} {{ line }} {%- endfor %}
|
{%- for line in listener.extra %}
|
||||||
|
{{ line }} {%- endfor %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if 'defaultserver' in listener %}
|
{%- if 'defaultserver' in listener %}
|
||||||
|
|
Loading…
Reference in a new issue