From 4fb3352586963fa05a58e85d9569ee2f2ea7311c Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 18 Nov 2020 19:01:37 +0100 Subject: [PATCH] fix --- conf/nginx.conf | 2 ++ scripts/install | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index bc3fa3d..2a94e65 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -9,6 +9,8 @@ location __PATH__/ { rewrite ^ https://$server_name$request_uri? permanent; } + index index.html; + # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; } \ No newline at end of file diff --git a/scripts/install b/scripts/install index 40dfc70..2f35d8c 100755 --- a/scripts/install +++ b/scripts/install @@ -82,7 +82,7 @@ chown -R root: $final_path ynh_script_progression --message="Configuring SSOwat..." --weight=1 # Make app public if necessary or protect it -[ $is_public -eq 1 ] || ynh_permission_update --permission "main" --add "visitors" +[ $is_public -eq 0 ] || ynh_permission_update --permission "main" --add "visitors" #================================================= # RELOAD NGINX