From a201de34735eb1a16f908d582cb52dec491c0cdb Mon Sep 17 00:00:00 2001 From: Thatoo Date: Mon, 25 Nov 2019 23:30:29 +0100 Subject: [PATCH] Update scripts/install Co-Authored-By: Josue-T --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index b8f82d3..b9389f2 100644 --- a/scripts/install +++ b/scripts/install @@ -298,7 +298,7 @@ ynh_store_file_checksum --file="/etc/matrix-$app/log.yaml" 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 - ynh_replace_string --match_string=__DOMAIN__ --replace_string=$domain --target_file="/etc/nginx/conf.d/${server_name}.d/server_name.conf" + ynh_replace_string --match_string=__DOMAIN__ --replace_string=$domain --target_file="/etc/nginx/conf.d/${server_name}.d/${app}_server_name.conf" ynh_replace_string --match_string=__PORT__ --replace_string=$synapse_tls_port --target_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" fi