Allow https access from git in private mode

This commit is contained in:
Josué Tille
2019-02-14 09:51:19 +01:00
parent d89b9c06c5
commit 300340cfc9
3 changed files with 22 additions and 4 deletions

View File

@ -104,10 +104,7 @@ ynh_mysql_connect_as "$dbuser" "$dbpass" "$dbname" < ../conf/login_source.sql
#=================================================
# Unprotect root from SSO if public
if [ "$is_public" = '1' ]
then
ynh_app_setting_set $app unprotected_uris "/"
fi
set_access_settings
# Add gitea to YunoHost's monitored services
yunohost service add "$app" --log "/var/log/$app/$app.log"