diff --git a/README.md b/README.md index c4c4ec2..5e0cdce 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,3 @@ More information on https://code.ffdn.org/FFDN/coin ``` yunohost app install https://github.com/YunoHost-Apps/coin_ynh -a "domain=adherents.arn-fai.net&path=/&email=contact@arn-fai.net&isp_name=ARN&isp_site=//arn-fai.net&admin=ljf" ``` - -## LICENSE of the upstream -Currently, the license is not specified, but it will be a free software. See https://code.ffdn.org/FFDN/coin/issues/152 diff --git a/conf/nginx.conf b/conf/nginx.conf index 0ade741..27fcfcc 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -9,15 +9,15 @@ location /protected/ { alias /opt/YNH_APP_INSTANCE_NAME/YNH_APP_INSTANCE_NAME/smedia/; } -location PATHTOCHANGE/media { +location PATHTOCHANGEmedia { alias /opt/YNH_APP_INSTANCE_NAME/media; } -location PATHTOCHANGE/static { +location PATHTOCHANGEstatic { alias /opt/YNH_APP_INSTANCE_NAME/static; } -location PATHTOCHANGE/assets { +location PATHTOCHANGEassets { alias /opt/YNH_APP_INSTANCE_NAME/static; } diff --git a/manifest.json b/manifest.json index 85f7184..8f93fb8 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Member dashboard for non profit isp.", "fr": "Coin est un Outil pour un Internet Neutre." }, - "license": "free", + "license": "AGPL-3.0-or-later", "maintainer": { "name": "ljf", "email": "ljf+coin_ynh@grimaud.me", diff --git a/scripts/install b/scripts/install index c2ef704..221efdb 100644 --- a/scripts/install +++ b/scripts/install @@ -31,8 +31,7 @@ ynh_user_exists $admin \ function configure_app() { # Check domain/path availability - sudo yunohost app checkurl "${domain}${path}" -a "$app" \ - || ynh_die "Path not available: ${domain}${path}" + ynh_webpath_register "$app" "$domain" "$path" ynh_app_setting_set "$app" admin "$admin" ynh_app_setting_set "$app" email "$email"