mirror of
https://github.com/YunoHost-Apps/mopidy_ynh.git
synced 2024-09-03 19:46:21 +02:00
Merge branch 'master' into testing
This commit is contained in:
commit
77b19a2d5f
3 changed files with 16 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
||||||
location /mopidy/ws/ {
|
location /mopidy/ws {
|
||||||
|
|
||||||
# Force usage of https
|
# Force usage of https
|
||||||
if ($scheme = http) {
|
if ($scheme = http) {
|
||||||
|
@ -22,7 +22,7 @@ location __PATH__/ {
|
||||||
rewrite ^ https://$server_name$request_uri? permanent;
|
rewrite ^ https://$server_name$request_uri? permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
proxy_pass http://localhost:__PORT__/musicbox_webclient;
|
proxy_pass http://localhost:__PORT__/musicbox_webclient/;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ location /musicbox_webclient/ {
|
||||||
rewrite ^ https://$server_name$request_uri? permanent;
|
rewrite ^ https://$server_name$request_uri? permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
proxy_pass http://localhost:6680/musicbox_webclient;
|
proxy_pass http://localhost:6680;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ location /local/ {
|
||||||
rewrite ^ https://$server_name$request_uri? permanent;
|
rewrite ^ https://$server_name$request_uri? permanent;
|
||||||
}
|
}
|
||||||
|
|
||||||
proxy_pass http://localhost:6680/local;
|
proxy_pass http://localhost:6680;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
"id": "mopidy",
|
"id": "mopidy",
|
||||||
"packaging_format": 1,
|
"packaging_format": 1,
|
||||||
"description": {
|
"description": {
|
||||||
"en": "Mopidy - is an extensible music server written in Python."
|
"en": "An extensible music server to play music, podcasts and radio programs from local disk and various streaming services"
|
||||||
},
|
},
|
||||||
"version": "1.0.2",
|
"version": "3.1.1-ynh1",
|
||||||
"url": "https://www.mopidy.com/",
|
"url": "https://www.mopidy.com/",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
@ -28,6 +28,10 @@
|
||||||
{
|
{
|
||||||
"name": "domain",
|
"name": "domain",
|
||||||
"type": "domain",
|
"type": "domain",
|
||||||
|
"ask": {
|
||||||
|
"en": "Choose a domain for Mopidy",
|
||||||
|
"fr": "Choisissez un domaine pour Mopidy"
|
||||||
|
},
|
||||||
"example": "example.org"
|
"example": "example.org"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -41,6 +45,11 @@
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"help": "en: public app can be used by anonymous visitors",
|
"help": "en: public app can be used by anonymous visitors",
|
||||||
"default": true
|
"default": true
|
||||||
|
"ask": {
|
||||||
|
"en": "Is it a public application?",
|
||||||
|
"fr": "Est-ce une application publique ?"
|
||||||
|
},
|
||||||
|
"default": false
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,7 +65,7 @@ ynh_app_setting_set --app=$app --key=port --value=$port
|
||||||
#=================================================
|
#=================================================
|
||||||
# INSTALL DEPENDENCIES
|
# INSTALL DEPENDENCIES
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Installing dependencies..." --weight=40
|
ynh_script_progression --message="Installing dependencies..." --weight=20
|
||||||
|
|
||||||
ynh_install_app_dependencies $pkg_dependencies
|
ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue