From b3e5b2dacc8796e04c7f3f98de49af97d13be2e4 Mon Sep 17 00:00:00 2001 From: Thatoo Date: Sat, 3 Aug 2019 23:39:46 +0200 Subject: [PATCH] remove server_name's nginx conf remove /etc/nginx/conf.d/${server_name}.d/server_name.conf --- scripts/remove | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/remove b/scripts/remove index ccedf27..1319b35 100755 --- a/scripts/remove +++ b/scripts/remove @@ -28,6 +28,7 @@ upstream_version=$(ynh_app_upstream_version) #================================================= domain=$(ynh_app_setting_get $app special_domain) +server_name=$(ynh_app_setting_get $app server_name) final_path=$(ynh_app_setting_get $app final_path) synapse_tls_port=$(ynh_app_setting_get $app synapse_tls_port) turnserver_tls_port=$(ynh_app_setting_get $app turnserver_tls_port) @@ -82,6 +83,7 @@ ynh_secure_remove /var/log/matrix-$app ynh_secure_remove /etc/matrix-$app ynh_secure_remove /etc/default/matrix-$app ynh_secure_remove /etc/default/coturn-$app +ynh_secure_remove /etc/nginx/conf.d/${server_name}.d/server_name.conf #================================================= # REMOVE NGINX CONFIGURATION