Browse Source

Merge pull request #125 from fedusia/master

Add newline to blocks like location, server, httpd and etc
susefix
Niels Abspoel 8 years ago
parent
commit
ef8fb87105
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      nginx/ng/files/vhost.conf

+ 1
- 1
nginx/ng/files/vhost.conf View File

{%- elif v|length() > 0 and (v[0] is number or v[0] is string) -%} {%- elif v|length() > 0 and (v[0] is number or v[0] is string) -%}
{{ lb }}{{ k|indent(ind,True) }}{{ vhost_config(v,'', 0, '', '')}}{{ delim }} {{ lb }}{{ k|indent(ind,True) }}{{ vhost_config(v,'', 0, '', '')}}{{ delim }}
{%- else %} {%- else %}
{{ k|indent(ind, True) }} {{ '{' }}
{{ lb }}{{ k|indent(ind, True) }} {{ '{' }}
{{- vhost_config(v, '', ind + ind_increment) }} {{- vhost_config(v, '', ind + ind_increment) }}
{{ '}'|indent(ind, True) }} {{ '}'|indent(ind, True) }}
{%- endif -%} {%- endif -%}

Loading…
Cancel
Save