From b8e5bb23c3051dd935bf3b50e056f3a1417df3a7 Mon Sep 17 00:00:00 2001 From: Prisacari Dmitrii Date: Tue, 7 Feb 2017 21:29:16 +0200 Subject: [PATCH] Changed extra conf location in template --- templates/nginx.conf.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/nginx.conf.j2 b/templates/nginx.conf.j2 index 262e54a..b04995a 100644 --- a/templates/nginx.conf.j2 +++ b/templates/nginx.conf.j2 @@ -5,15 +5,15 @@ pid {{ nginx_pidfile }}; worker_processes {{ nginx_worker_processes }}; +{% if nginx_extra_conf_options %} +{{ nginx_extra_conf_options }} +{% endif %} + events { worker_connections {{ nginx_worker_connections }}; multi_accept {{ nginx_multi_accept }}; } -{% if nginx_extra_conf_options %} -{{ nginx_extra_conf_options }} -{% endif %} - http { include {{ nginx_mime_file_path }}; default_type application/octet-stream;