From 9d213cc2b601b8e226555045aec0276598f374b6 Mon Sep 17 00:00:00 2001 From: tytan652 Date: Wed, 19 Jan 2022 21:03:00 +0100 Subject: [PATCH] Remove deprecated redirect in nginx config also bump YunoHost minimal version to 4.3 --- conf/nginx.conf | 4 ---- manifest.json | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 215fb2d..6c8afbc 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,10 +1,6 @@ #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; location __PATH__/ { - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - # This is important for user's privacy! access_log off; error_log /var/log/nginx/lufi.error.log; diff --git a/manifest.json b/manifest.json index 939be96..5432fbd 100644 --- a/manifest.json +++ b/manifest.json @@ -20,7 +20,7 @@ "email": "win10@tutanota.com, cyp@rouquin.me" }, "requirements": { - "yunohost": ">= 4.2.3" + "yunohost": ">= 4.3" }, "multi_instance": true, "services": [