diff --git a/conf/nginx.conf b/conf/nginx.conf index eec0539..af69520 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,9 +1,9 @@ location __PATH__ { - # Path to source - alias __FINALPATH__/www/ ; +# Path to source +alias __FINALPATH__/www/ ; - if ($scheme = http) { +if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; } diff --git a/manifest.json b/manifest.json index 0b4bde0..6463da4 100644 --- a/manifest.json +++ b/manifest.json @@ -9,7 +9,9 @@ "en": "Software to manage association", "fr": "Logiciel libre de gestion d'association" }, + "version": "0.9.6~ynh3", + "url": "http://garradin.eu/a-propos/", "license": "GPL-3.0-or-later", "maintainer": { diff --git a/scripts/_common.sh b/scripts/_common.sh index 2ec5196..768fbe1 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,6 +5,7 @@ #================================================= # dependencies used by the app + pkg_dependencies="php-sqlite3" # ============= FUTURE YUNOHOST HELPER ============= @@ -42,4 +43,4 @@ ynh_permission_has_user() { allowed_users="$(echo "$perm" | grep --invert-match '^#')" # Grep the list of users an return the result if the user is indeed into the list echo "$allowed_users" | grep --quiet --word "$user" -} \ No newline at end of file +} diff --git a/scripts/install b/scripts/install index d2f9c94..ec67600 100644 --- a/scripts/install +++ b/scripts/install @@ -46,6 +46,7 @@ ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url #================================================= ynh_script_progression --message="Storing installation settings..." --time --weight=1 + ynh_app_setting_set --app=$app --key=domain --value=$domain ynh_app_setting_set --app=$app --key=path --value=$path_url