mirror of
https://github.com/YunoHost-Apps/mytinytodo_ynh.git
synced 2024-09-03 19:46:01 +02:00
Pour tester (mais je ne suis pas sur)
This commit is contained in:
parent
f9c147aa96
commit
1e8760d2b1
1 changed files with 6 additions and 4 deletions
|
@ -109,18 +109,20 @@ sudo chown -R $app: $final_path
|
|||
#=================================================
|
||||
# SETUP SSOWAT
|
||||
#=================================================
|
||||
ynh_app_setting_set $app unprotected_uris "/"
|
||||
|
||||
# 0 : pas d'acces publique
|
||||
# 1 : acces publique autorise
|
||||
|
||||
#if [ $is_public -eq 0 ];
|
||||
#then
|
||||
if [ $is_public -eq 0 ];
|
||||
then
|
||||
# Retire l'accès public
|
||||
# ynh_app_setting_delete $app unprotected_uris
|
||||
#fi
|
||||
ynh_app_setting_delete $app unprotected_uris
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
#=================================================
|
||||
|
||||
sudo systemctl reload nginx
|
||||
sudo yunohost app ssowatconf
|
||||
|
|
Loading…
Add table
Reference in a new issue