diff --git a/conf/nginx.conf b/conf/nginx.conf index 052c370..bebf13e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -3,12 +3,7 @@ location __PATH__/ { # Path to source alias __FINALPATH__/ ; - - # Force usage of https - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - + # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; } diff --git a/manifest.json b/manifest.json index 07a41ab..47e23e6 100644 --- a/manifest.json +++ b/manifest.json @@ -20,7 +20,7 @@ "url": "https://fiat-tux.fr" }, "requirements": { - "yunohost": ">> 4.2.4" + "yunohost": ">> 4.3.0" }, "multi_instance": true, "services": [ @@ -30,8 +30,7 @@ "install" : [ { "name": "domain", - "type": "domain", - "example": "domain.org" + "type": "domain" }, { "name": "path", diff --git a/scripts/restore b/scripts/restore index a914998..c2bbcbc 100755 --- a/scripts/restore +++ b/scripts/restore @@ -31,10 +31,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=1 -ynh_webpath_available --domain=$domain --path_url=$path_url \ - || ynh_die --message="Path not available: ${domain}${path_url}" -test ! -d $final_path \ - || ynh_die --message="There is already a directory: $final_path " +test ! -d $final_path || ynh_die --message="There is already a directory: $final_path " #================================================= # STANDARD RESTORATION STEPS