diff --git a/scripts/backup b/scripts/backup index 4a2baa1..2f181ef 100644 --- a/scripts/backup +++ b/scripts/backup @@ -54,7 +54,7 @@ ynh_script_progression --message="Backing up nginx web server configuration..." ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" if yunohost --output-as plain domain list | grep -q "^$server_name$" then - ynh_backup --src_path="/etc/nginx/conf.d/${server_name}.d/server_name.conf" + ynh_backup --src_path="/etc/nginx/conf.d/${server_name}.d/${app}_server_name.conf" fi #=================================================