diff --git a/conf/nginx.conf b/conf/nginx.conf index 2cabe2d..f2ba50c 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,4 +1,4 @@ -location /mopidy/ws/ { +location /mopidy/ws { # Force usage of https if ($scheme = http) { @@ -22,7 +22,7 @@ location __PATH__/ { 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_set_header Host $host; @@ -37,7 +37,7 @@ location /musicbox_webclient/ { 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_set_header Host $host; @@ -52,7 +52,7 @@ location /local/ { rewrite ^ https://$server_name$request_uri? permanent; } - proxy_pass http://localhost:6680/local; + proxy_pass http://localhost:6680; proxy_http_version 1.1; proxy_set_header Host $host; diff --git a/manifest.json b/manifest.json index 0fb32a6..4a1352f 100644 --- a/manifest.json +++ b/manifest.json @@ -3,9 +3,9 @@ "id": "mopidy", "packaging_format": 1, "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/", "license": "Apache-2.0", "maintainer": { @@ -28,6 +28,10 @@ { "name": "domain", "type": "domain", + "ask": { + "en": "Choose a domain for Mopidy", + "fr": "Choisissez un domaine pour Mopidy" + }, "example": "example.org" }, { @@ -41,6 +45,11 @@ "type": "boolean", "help": "en: public app can be used by anonymous visitors", "default": true + "ask": { + "en": "Is it a public application?", + "fr": "Est-ce une application publique ?" + }, + "default": false } ] } diff --git a/scripts/install b/scripts/install index 4102f9b..5cd40ea 100755 --- a/scripts/install +++ b/scripts/install @@ -65,7 +65,7 @@ ynh_app_setting_set --app=$app --key=port --value=$port #================================================= # INSTALL DEPENDENCIES #================================================= -ynh_script_progression --message="Installing dependencies..." --weight=40 +ynh_script_progression --message="Installing dependencies..." --weight=20 ynh_install_app_dependencies $pkg_dependencies