瀏覽代碼

Merge pull request #125 from fedusia/master

Add newline to blocks like location, server, httpd and etc
susefix
Niels Abspoel 8 年之前
父節點
當前提交
ef8fb87105
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      nginx/ng/files/vhost.conf

+ 1
- 1
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 -%}

Loading…
取消
儲存