diff --git a/conf/nginx.conf b/conf/nginx.conf index 5cd4c7f..d7fa401 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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; diff --git a/manifest.json b/manifest.json index bc3457e..42d2a02 100644 --- a/manifest.json +++ b/manifest.json @@ -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": [ diff --git a/scripts/_common.sh b/scripts/_common.sh index 088dd05..b305e6d 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -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 diff --git a/scripts/restore b/scripts/restore index c1dc329..0dfddd8 100644 --- a/scripts/restore +++ b/scripts/restore @@ -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