From d8347ddccd65d565aef77060c360e6e2df1ecb43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Sat, 19 Feb 2022 19:57:40 +0100 Subject: [PATCH] Remove custom http->https redirect, required yunohost>=4.3 --- conf/nginx.conf | 7 ------- manifest.json | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 6e69e55..a259f72 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,12 +1,5 @@ #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; location __PATH__/ { - - # Force usage of https - if ($scheme = http) { - rewrite ^ https://$server_name$request_uri? permanent; - } - - # Proxy main Jellyfin traffic proxy_pass http://127.0.0.1:__PORT____PATH__/; proxy_pass_request_headers on; proxy_set_header Host $host; diff --git a/manifest.json b/manifest.json index cb09821..8850b0a 100644 --- a/manifest.json +++ b/manifest.json @@ -27,7 +27,7 @@ } ], "requirements": { - "yunohost": ">= 4.2" + "yunohost": ">=4.3" }, "multi_instance": false, "services": [