From 5e165891bb72744f06ef7ddd7fa16aec65f80f53 Mon Sep 17 00:00:00 2001 From: Thatoo Date: Mon, 11 Nov 2019 12:44:17 +0100 Subject: [PATCH] replace __SERVER_NAME__ --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 285c074..8747d39 100644 --- a/scripts/install +++ b/scripts/install @@ -297,10 +297,10 @@ ynh_store_file_checksum --file="/etc/matrix-$app/log.yaml" # Create .well-known redirection for access by federation if yunohost --output-as plain domain list | grep -q "^$server_name$" then - cp ../conf/server_name.conf /etc/nginx/conf.d/${server_name}.d/server_name.conf + cp ../conf/server_name.conf /etc/nginx/conf.d/__SERVER_NAME__.d/server_name.conf fi -ynh_store_file_checksum --file="/etc/nginx/conf.d/${server_name}.d/server_name.conf" +ynh_store_file_checksum --file="/etc/nginx/conf.d/__SERVER_NAME__.d/server_name.conf" #================================================= # SET COTURN CONFIG