1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bozon_ynh.git synced 2024-09-03 18:16:09 +02:00
This commit is contained in:
ewilly 2016-10-12 21:41:24 +02:00
parent 66a8646488
commit f43d99b7ad

View file

@ -87,7 +87,7 @@ sudo chmod 644 "$phpfpm_conf"
# restart services
sudo service php5-fpm restart || true
sudo service nginx restart || true
sudo service nginx reload || true
# set temporary public access
ynh_app_setting_set "$app" unprotected_uris "/"
@ -112,6 +112,5 @@ then
pathluaregex=$(echo "$path" | sed -e 's/[]().%+*?[^$[]/\%&/g' | sed -e 's/\-/\%&/g')
regexList=${domainluaregex}${pathluaregex}/index.php%?f=.+$","${domainluaregex}${pathluaregex}/index.php%?zipfolder=.+$","${domainluaregex}${pathluaregex}/private/temp/.+%.zip$","${domainluaregex}${pathluaregex}/core/js/.*$","${domainluaregex}${pathluaregex}/templates/.*$"
ynh_app_setting_set "$app" unprotected_regex "$regexList"
sudo yunohost app ssowatconf
fi
sudo yunohost app ssowatconf