mirror of
https://github.com/YunoHost-Apps/ghost_ynh.git
synced 2024-09-03 19:16:02 +02:00
handle is_public
This commit is contained in:
parent
6b6eb0129f
commit
5060b15585
1 changed files with 6 additions and 0 deletions
|
@ -52,5 +52,11 @@ sudo update-rc.d ynh-app-ghostblog defaults
|
|||
sudo service ynh-app-ghostblog start
|
||||
|
||||
echo "Reloading Nginx..."
|
||||
if [ $is_public = "Yes" ];
|
||||
then
|
||||
sudo yunohost app setting ghostblog unprotected_uris -v "/"
|
||||
fi
|
||||
sudo yunohost app setting ghostblog is_public -v $is_public
|
||||
|
||||
sudo service nginx reload
|
||||
sudo yunohost app ssowatconf
|
||||
|
|
Loading…
Add table
Reference in a new issue