1
0
Fork 0
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:
magikcypress 2017-05-08 17:18:41 +02:00
parent 01aa1682a6
commit 87d03acccf

View file

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