From 00e5e53895ccfbaaa948a4c91f1d1d026ec47091 Mon Sep 17 00:00:00 2001 From: Thatoo Date: Wed, 10 Jul 2019 07:07:16 +0200 Subject: [PATCH] Update .well-known redirection for access by federation and applications like Riot.im --- scripts/upgrade | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 327bac1..311a428 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -247,18 +247,12 @@ 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/${server_nameserver_name}/server_name.json ]]; then - cat > /var/www/.well-known/${server_name}/server_name.json < /etc/nginx/conf.d/${server_name}.d/server_name.conf <