From 7b1abdd6dbc9d909153bff4ad4e161548e70a5e3 Mon Sep 17 00:00:00 2001 From: Thatoo Date: Mon, 8 Jul 2019 00:41:10 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 9acf346..327bac1 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -247,18 +247,18 @@ fi # Create .well-known redirection for access by federation if it doesn't exist if [[ $server_name != $domain ]]; then -if [[ ! -e /var/www/.well-known/${domain}/server_name.json ]]; then - cat > /var/www/.well-known/${domain}/server_name.json < /var/www/.well-known/${server_name}/server_name.json < /etc/nginx/conf.d/${domain}.d/server_name.conf < /etc/nginx/conf.d/${server_name}.d/server_name.conf <