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 %}
|
||||
{{ listener.extra }}
|
||||
{%- else %}
|
||||
{%- for line in listener.extra %} {{ line }} {%- endfor %}
|
||||
{%- for line in listener.extra %}
|
||||
{{ line }} {%- endfor %}
|
||||
{%- endif %}
|
||||
{%- endif %}
|
||||
{%- if 'defaultserver' in listener %}
|
||||
|
|
Loading…
Reference in a new issue