From 84d00fd56c09b2b88852ccdff24afde84260c5e8 Mon Sep 17 00:00:00 2001 From: Kent Shultz Date: Thu, 29 May 2014 14:15:24 -0700 Subject: [PATCH] more messing with suppress newline in jinja --- nginx/templates/config.jinja | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx/templates/config.jinja b/nginx/templates/config.jinja index 1d26c65..e416166 100644 --- a/nginx/templates/config.jinja +++ b/nginx/templates/config.jinja @@ -19,7 +19,7 @@ events { {% set use = nginx.get('events', {}).get('use', '') -%} {% if use -%} use {{ use }}; - {% endif -%} + {% endif %} } http { @@ -62,7 +62,7 @@ http { access_log off; } {% endif -%} -{% endif -%} +{% endif %} include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*.conf;