From 7b0b7eacac5cc2dc4e1867e9dd83f21d35cdb85e Mon Sep 17 00:00:00 2001 From: Thatoo Date: Fri, 26 Jul 2019 22:33:01 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index b960e9e..84633aa 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -246,8 +246,8 @@ fi #================================================= # Create .well-known redirection for access by federation if it doesn't exist -if [[ $server_name != $domain ]]; then -if [[ ! -e /etc/nginx/conf.d/${server_name}.d/server_name.conf ]] +if [[ $server_name != $domain ]] && [[ ! -e /etc/nginx/conf.d/${server_name}.d/server_name.conf ]] +then cat > /etc/nginx/conf.d/${server_name}.d/server_name.conf <