diff --git a/nginx/ng/files/vhost.conf b/nginx/ng/files/vhost.conf index 4daac88..50e6296 100644 --- a/nginx/ng/files/vhost.conf +++ b/nginx/ng/files/vhost.conf @@ -10,7 +10,7 @@ {%- elif v|length() > 0 and (v[0] is number or v[0] is string) -%} {{ lb }}{{ k|indent(ind,True) }}{{ vhost_config(v,'', 0, '', '')}}{{ delim }} {%- else %} -{{ k|indent(ind, True) }} {{ '{' }} +{{ lb }}{{ k|indent(ind, True) }} {{ '{' }} {{- vhost_config(v, '', ind + ind_increment) }} {{ '}'|indent(ind, True) }} {%- endif -%}