1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodebb_ynh.git synced 2024-09-03 19:46:29 +02:00
This commit is contained in:
ericgaspar 2022-01-14 08:41:07 +01:00
parent 0fdc01983c
commit 1d68440f47
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 4 additions and 11 deletions

View file

@ -1,10 +1,5 @@
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

View file

@ -6,14 +6,13 @@
"en": "Forum software built for the modern web",
"fr": "Logiciel de forum conçu pour le Web moderne"
},
"version": "1.18.5~ynh1",
"version": "1.19.0~ynh1",
"url": "https://nodebb.org",
"upstream": {
"license": "GPL-3.0",
"website": "https://nodebb.org",
"demo": "https://try.nodebb.org",
"admindoc": "https://docs.nodebb.org",
"userdoc": "https://yunohost.org/apps",
"code": "https://github.com/NodeBB/NodeBB"
},
"license": "GPL-3.0",
@ -22,7 +21,7 @@
"email": "abld@tutanota.com"
},
"requirements": {
"yunohost": ">> 4.2.4"
"yunohost": ">> 4.3.0"
},
"multi_instance": true,
"services": [

View file

@ -7,7 +7,7 @@
# dependencies used by the app
pkg_dependencies="postgresql"
nodejs_version=14
nodebb_version=v1.18.x
nodebb_version=v1.19.x
#=================================================
# PERSONAL HELPERS

View file

@ -40,8 +40,7 @@ db_pwd=$(ynh_app_setting_get --app=$app --key=psqlpwd)
#=================================================
ynh_script_progression --message="Validating restoration parameters..." --weight=1
test ! -d $final_path \
|| ynh_die --message="There is already a directory: $final_path "
test ! -d $final_path || ynh_die --message="There is already a directory: $final_path "
#=================================================
# STANDARD RESTORATION STEPS