From 3af39dfc9557dc991faf809cdd2eb96b910b636d Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Wed, 13 Dec 2023 20:13:15 +0100 Subject: [PATCH] fix nginx --- scripts/install | 2 +- scripts/remove | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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