1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/baikal_ynh.git synced 2024-09-03 18:16:11 +02:00

Update install

This commit is contained in:
ericgaspar 2022-04-11 12:19:32 +02:00
parent 7bb6c42c6a
commit e9480d67f7
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -137,6 +137,16 @@ chmod 640 "$final_path/config/baikal.yaml"
# Disable installation
touch "$final_path/Specific/INSTALL_DISABLED"
#=================================================
# SETUP SSOWAT
#=================================================
ynh_script_progression --message="Configuring permissions..." --weight=2
# Allow public access on /
ynh_permission_update --permission="main" --add="visitors"
# But restrain on /admin
ynh_permission_create --permission="admin" --url="/admin" --allowed="all_users"
#=================================================
# RELOAD NGINX
#=================================================