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:
parent
83294ef5c7
commit
c98cd74a4e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue