1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/opensondage_ynh.git synced 2024-09-03 19:46:28 +02:00

Update install

This commit is contained in:
ericgaspar 2021-07-22 16:31:47 +02:00
parent 107877a772
commit 233425459a

View file

@ -146,7 +146,7 @@ ynh_script_progression --message="Configuring SSOwat..." --weight=1
# Make app public if necessary # Make app public if necessary
if [ $is_public -eq 1 ] if [ $is_public -eq 1 ]
then then
ynh_app_setting_set --app=$app --key=skipped_uris --value="/" ynh_permission_update --permission="main" --add="visitors"
# Keep /admin private # Keep /admin private
if [ "$path_url" == "/" ]; then if [ "$path_url" == "/" ]; then
@ -158,6 +158,8 @@ then
ynh_app_setting_set --app=$app --key=protected_regex --value="$domain_regex$path_url/admin/" ynh_app_setting_set --app=$app --key=protected_regex --value="$domain_regex$path_url/admin/"
fi fi
ynh_permission_create --permission="admin" --allowed="$admin" --url="/admin"
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX
#================================================= #=================================================