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; 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 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=$(