diff --git a/scripts/install b/scripts/install index fb6a549..cbbea49 100644 --- a/scripts/install +++ b/scripts/install @@ -59,10 +59,16 @@ sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/spip.conf POOL_FPM +# Donne un accès public pour curl +ynh_app_setting_set $app unprotected_uris "/" + # Reload Nginx and regenerate SSOwat conf sudo service php5-fpm restart sudo service nginx reload +# Régénère la configuration de SSOwat +sudo yunohost app ssowatconf + if [ "$is_public" = "No" ]; then # Retire l'accès public