From 1dee266626381afab8d4585720010a4daace8cb2 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 11 Dec 2018 15:05:44 +0100 Subject: [PATCH] library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: Fix the indentation of the conditionals. --- .../templates/generic-smartgears-virtualhost.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2 b/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2 index 77ce064..fe2a3c2 100644 --- a/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2 +++ b/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2 @@ -173,11 +173,11 @@ server { {% endfor %} {% endif %} - {% else %} +{% else %} location / { return 301 https://{{ item.servername }}$request_uri; } - {% endif %} +{% endif %} } {% if letsencrypt_acme_install %}