diff --git a/conf/nginx.conf b/conf/nginx.conf index 342d22f..4aca440 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -15,7 +15,8 @@ location __PATH__ { } # Do not include SSOWAT user panel. - #include conf.d/yunohost_panel.conf.inc; + # include conf.d/yunohost_panel.conf.inc; + location ~ /(conf|history)(/|$) { deny all; } diff --git a/scripts/upgrade b/scripts/upgrade index 457ce17..1f35f5e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -16,7 +16,6 @@ app=$YNH_APP_INSTANCE_NAME domain=$(ynh_app_setting_get "$app" domain) path=$(ynh_app_setting_get "$app" path) -user=$(ynh_app_setting_get "$app" user) is_public=$(ynh_app_setting_get $app is_public) ynh_backup_before_upgrade # Backup the current version of the app