diff --git a/scripts/install b/scripts/install index 8390cc4..c7f7b25 100644 --- a/scripts/install +++ b/scripts/install @@ -32,8 +32,8 @@ mkdir -p $install_dir/config ynh_script_progression --message="Configuring NGINX web server..." --weight=1 # Create a dedicated NGINX config -ynh_add_nginx_config ynh_add_config --template="funkwhale_proxy.conf" --destination="/etc/nginx/conf.d/$domain.d/funkwhale_proxy.conf" +ynh_add_nginx_config #================================================= # SPECIFIC SETUP diff --git a/scripts/remove b/scripts/remove index 42e9981..104fb0f 100644 --- a/scripts/remove +++ b/scripts/remove @@ -56,8 +56,8 @@ ynh_secure_remove --file="/etc/systemd/system/$app.target" ynh_script_progression --message="Removing NGINX web server configuration..." --weight=1 # Remove the dedicated NGINX config -ynh_remove_nginx_config ynh_secure_remove --file="/etc/nginx/conf.d/$domain.d/funkwhale_proxy.conf" +ynh_remove_nginx_config #================================================= # REMOVE LOGS diff --git a/scripts/upgrade b/scripts/upgrade index d233229..2ff9135 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -49,8 +49,8 @@ fi ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=1 # Create a dedicated NGINX config -ynh_add_nginx_config ynh_add_config --template="funkwhale_proxy.conf" --destination="/etc/nginx/conf.d/$domain.d/funkwhale_proxy.conf" +ynh_add_nginx_config #================================================= # Assure correct permissions to $data_dir