From d8667df8d87d54108fe54c6d1ae99b95b6f6cfa0 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 25 May 2020 11:33:35 +0200 Subject: [PATCH] fix ordering --- templates/etc/nginx/sites-available/vhost.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/etc/nginx/sites-available/vhost.j2 b/templates/etc/nginx/sites-available/vhost.j2 index 31ca8c2..6b09029 100644 --- a/templates/etc/nginx/sites-available/vhost.j2 +++ b/templates/etc/nginx/sites-available/vhost.j2 @@ -89,7 +89,6 @@ server { } {% endfor %} - {% endif %} {% for error_location in nginx_error_location %} location {{ error_location.match }} { {% if error_location.root is defined and error_location.root %} @@ -107,5 +106,6 @@ server { {% endif %} } {% endfor %} + {% endif %} } {% endfor %}