From 1bdc98441a86ae07d92bb2bbe7306f8f40fa87ef Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 1 Dec 2021 23:20:49 +0100 Subject: [PATCH] remove https --- conf/nginx.conf | 5 ----- scripts/remove | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 1994a8e..9aa7449 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,11 +3,6 @@ location / { # Path to source alias __FINALPATH__/public/ ; - # Force usage of https - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - index index.php; client_max_body_size 50M; diff --git a/scripts/remove b/scripts/remove index 7ee6368..8576dac 100644 --- a/scripts/remove +++ b/scripts/remove @@ -25,7 +25,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) ynh_script_progression --message="Removing $app main directory..." --weight=4 # Remove the app directory securely -ynh_secure_remove "$final_path" +ynh_secure_remove --file="$final_path" #================================================= # REMOVE NGINX CONFIGURATION