1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/chuwiki_ynh.git synced 2024-09-03 18:16:18 +02:00
This commit is contained in:
Éric Gaspar 2023-01-10 11:41:26 +01:00
parent 098937aadc
commit da8b76fb33
3 changed files with 5 additions and 10 deletions

View file

@ -2,13 +2,8 @@
location __PATH__/ {
# Path to source
alias __FINALPATH__/ ;
alias __FINALPATH__/;
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
index index.php;
client_max_body_size 128M;

View file

@ -3,8 +3,8 @@
"id": "chuwiki",
"packaging_format": 1,
"description": {
"en": "A simple, fast and flexible wiki.",
"fr": "Un wiki simple, rapide et flexible."
"en": "Simple, fast and flexible wiki",
"fr": "Wiki simple, rapide et flexible"
},
"version": "2.0~ynh2",
"url": "http://chuwiki.genezys.net/",
@ -23,7 +23,7 @@
"url": "https://stylix58.netlify.app/"
},
"requirements": {
"yunohost": ">= 4.2.4"
"yunohost": ">= 11.0.9"
},
"multi_instance": true,
"services": [

View file

@ -81,7 +81,7 @@ then
ynh_secure_remove --file="$final_path"
#Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" #--keep="$final_path/configuration.ini"
ynh_setup_source --dest_dir="$final_path" #--keep="configuration.ini"
# Copy the admin saved settings from tmp directory to final config path
cp -a "$tmpdir/configuration.ini" "$final_path/configuration.ini"