1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/radarr_ynh.git synced 2024-09-03 20:16:13 +02:00

Appease linter

This commit is contained in:
tituspijean 2021-12-18 21:11:22 +01:00
parent 63f0e5c960
commit ea3b77a877
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
2 changed files with 6 additions and 13 deletions

View file

@ -1,11 +1,6 @@
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__ { location __PATH__ {
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
proxy_pass http://127.0.0.1:__PORT____PATH__; proxy_pass http://127.0.0.1:__PORT____PATH__;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

View file

@ -6,7 +6,7 @@
"en": "A movie collection manager for Usenet and BitTorrent users.", "en": "A movie collection manager for Usenet and BitTorrent users.",
"fr": "Un gestionnaire de filmothèque pour utilisateurs de Usenet et BitTorrent." "fr": "Un gestionnaire de filmothèque pour utilisateurs de Usenet et BitTorrent."
}, },
"version": "3.2.2.5080~ynh2", "version": "3.2.2.5080~ynh3",
"url": "https://radarr.video", "url": "https://radarr.video",
"upstream": { "upstream": {
"license": "GPL-3.0-only", "license": "GPL-3.0-only",
@ -20,7 +20,7 @@
"email": "tituspijean@outlook.com" "email": "tituspijean@outlook.com"
}, },
"requirements": { "requirements": {
"yunohost": ">= 4.2" "yunohost": ">= 4.3"
}, },
"multi_instance": true, "multi_instance": true,
"services": [ "services": [
@ -32,19 +32,17 @@
"install" : [ "install" : [
{ {
"name": "domain", "name": "domain",
"type": "domain", "type": "domain"
"example": "example.com"
}, },
{ {
"name": "path", "name": "path",
"type": "path", "type": "path",
"example": "/radarr", "default": "/radarr",
"default": "/radarr" "example": "/radarr"
}, },
{ {
"name": "admin", "name": "admin",
"type": "user", "type": "user"
"example": "johndoe"
} }
] ]
} }