From f09261771f802072aada65144f599c301267b216 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 22 Sep 2019 16:21:52 +0200 Subject: [PATCH 1/3] [fix] backing up php-fpm with correct version in path --- scripts/backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/backup b/scripts/backup index 9bbdafc..4d5d8ad 100644 --- a/scripts/backup +++ b/scripts/backup @@ -53,7 +53,7 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" #================================================= ynh_script_progression --message="Backing up php-fpm configuration..." --time --weight=1 -ynh_backup --src_path="/etc/php/7.0/fpm/pool.d/$app.conf" +ynh_backup --src_path="/etc/php/${php_version}/fpm/pool.d/$app.conf" #================================================= # BACKUP THE MYSQL DATABASE From acefce0360b7ca1d2b1c0056d17810aa15edf66c Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 22 Sep 2019 18:03:37 +0200 Subject: [PATCH 2/3] Removing extension install confirmation --- scripts/install | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/install b/scripts/install index a2ff33c..56b6dc5 100644 --- a/scripts/install +++ b/scripts/install @@ -243,7 +243,6 @@ install_and_activate_extension $app $php_version $final_path $db_name "tituspije ssowatdomain=$( Date: Sun, 22 Sep 2019 18:08:56 +0200 Subject: [PATCH 3/3] [fix] trailing slash --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index d9446ee..3fc01c2 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,4 +1,4 @@ -location ^~ __PATH__/ { +location ^~ __PATH__ { if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent;