1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/spip_ynh.git synced 2024-09-03 20:25:59 +02:00

Donne un accès public pour curl

This commit is contained in:
magikcypress 2017-02-21 17:22:15 +01:00
parent e2d1a9d8e6
commit de762e4977

View file

@ -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