From de762e497727d97f327da695aae526d8b075b7d2 Mon Sep 17 00:00:00 2001 From: magikcypress Date: Tue, 21 Feb 2017 17:22:15 +0100 Subject: [PATCH] =?UTF-8?q?Donne=20un=20acc=C3=A8s=20public=20pour=20curl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/install | 6 ++++++ 1 file changed, 6 insertions(+) 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