1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/shaarli_ynh.git synced 2024-09-03 20:26:10 +02:00

fix for public param

This commit is contained in:
Julien Malik 2013-12-19 18:13:14 +01:00
parent 83294ef5c7
commit c98cd74a4e

View file

@ -58,8 +58,8 @@ sudo sed -i "s@YNH_ALIAS@$final_path@g" ../conf/nginx.conf
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/shaarli.conf
# Reload Nginx and regenerate SSOwat conf
if [ $is_public = "No" ]; then
sudo yunohost app setting shaarli unprotected_uris -v "/index.php"
if [ $is_public = "Yes" ]; then
sudo yunohost app setting shaarli unprotected_uris -v "/"
fi
sudo service nginx reload
sudo yunohost app ssowatconf