From 1e8760d2b1cffada0f0326552b22a7122bf595e9 Mon Sep 17 00:00:00 2001 From: plabuse Date: Fri, 7 Apr 2017 15:47:02 +0200 Subject: [PATCH] Pour tester (mais je ne suis pas sur) --- scripts/install | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 293c1de..8f047db 100644 --- a/scripts/install +++ b/scripts/install @@ -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