1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jellyfin_ynh.git synced 2024-09-03 19:26:29 +02:00

Remove custom http->https redirect, required yunohost>=4.3

This commit is contained in:
Salamandar 2022-02-19 19:57:40 +01:00 committed by Salamandar
parent eecac84f4b
commit d8347ddccd
2 changed files with 1 additions and 8 deletions

View file

@ -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;

View file

@ -27,7 +27,7 @@
}
],
"requirements": {
"yunohost": ">= 4.2"
"yunohost": ">=4.3"
},
"multi_instance": false,
"services": [