mirror of
https://github.com/YunoHost-Apps/minchat_ynh.git
synced 2024-09-03 19:36:29 +02:00
[fix] Set ssowat config
This commit is contained in:
parent
01aa1682a6
commit
87d03acccf
1 changed files with 8 additions and 2 deletions
|
@ -43,8 +43,14 @@ ynh_nginx_config
|
|||
ynh_fpm_config
|
||||
|
||||
# Set ssowat config
|
||||
if [[ $is_public -eq 0 ]]; then
|
||||
ynh_app_setting_delete $app skipped_uris
|
||||
if [ $is_public -eq 0 ]
|
||||
then
|
||||
ynh_app_setting_delete $app skipped_uris # Delete public access
|
||||
fi
|
||||
|
||||
if [ $is_public -eq 1 ]
|
||||
then
|
||||
ynh_app_setting_set $app skipped_uris "/" # Make app public if necessary
|
||||
fi
|
||||
|
||||
sudo systemctl reload nginx
|
||||
|
|
Loading…
Reference in a new issue