From 36f4f596243858255d25faa3ea7bb2de5e20154e Mon Sep 17 00:00:00 2001 From: "Dmitry S. Fedorov" Date: Wed, 29 Jun 2016 17:55:54 +0300 Subject: [PATCH] Add newline to blocks like location, server, httpd and etc --- nginx/ng/files/vhost.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -%}