From d7a8235b892dfa1408e5004b689bee5f23c58a1f Mon Sep 17 00:00:00 2001 From: Florent Daigniere Date: Wed, 15 Dec 2021 10:53:47 +0100 Subject: [PATCH] Simplify --- core/nginx/conf/nginx.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/nginx/conf/nginx.conf b/core/nginx/conf/nginx.conf index c9e21fb3..2f5f3496 100644 --- a/core/nginx/conf/nginx.conf +++ b/core/nginx/conf/nginx.conf @@ -167,8 +167,7 @@ http { {% if WEB_WEBMAIL == '/' %} location /sso.php { - {% endif %} - {% if WEB_WEBMAIL != '/' %} + {% else %} location {{ WEB_WEBMAIL }}/sso.php { {% endif %} {% if WEB_WEBMAIL != '/' %}