diff --git a/conf/nginx.conf b/conf/nginx.conf index 8a1d4ef..36df6e6 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -2,11 +2,6 @@ root __FINALPATH__/front/dist; location / { - # Force usage of https - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - # global proxy conf proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; @@ -127,7 +122,7 @@ location /_protected/media/ { # proxy_pass $1; # } -location /_protected/music/ { +location /_protected/music { # this is an internal location that is used to serve # audio files once correct permission / authentication # has been checked on API side diff --git a/manifest.json b/manifest.json index dba86fb..24a6631 100644 --- a/manifest.json +++ b/manifest.json @@ -26,7 +26,7 @@ "email": "jean-baptiste@holcroft.fr" }], "requirements": { - "yunohost": ">= 4.2.0" + "yunohost": ">= 4.3.0" }, "multi_instance": true, "services": [ diff --git a/scripts/upgrade b/scripts/upgrade index cb5a246..8180241 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -30,7 +30,6 @@ key=$(ynh_app_setting_get --app=$app --key=key) #================================================= # CHECK VERSION #================================================= -ynh_script_progression --message="Checking version..." upgrade_type=$(ynh_check_app_version_changed)