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 != '/' %}