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