1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

[fix] Unprotect the whole path to serve public shares and so

This commit is contained in:
Jérôme Lebleu 2016-05-17 14:41:52 +02:00
parent 308832b342
commit fc8d70aee1
2 changed files with 3 additions and 4 deletions

View file

@ -156,8 +156,7 @@ ynh_app_setting_set "$app" user_home "$user_home"
ynh_app_setting_set "$app" mysqlpwd "$dbpass"
# Set SSOwat rules
ynh_app_setting_set "$app" unprotected_uris "/remote.php"
ynh_app_setting_set "$app" skipped_uris "/.well-known"
ynh_app_setting_set "$app" unprotected_uris "/"
# Reload services
sudo service php5-fpm restart || true

View file

@ -146,8 +146,8 @@ sudo chmod 640 "${DESTDIR}/config/config.php"
sudo chmod 755 /home/yunohost.app
# Set SSOwat rules
ynh_app_setting_set "$app" unprotected_uris "/remote.php"
ynh_app_setting_set "$app" skipped_uris "/.well-known"
ynh_app_setting_set "$app" unprotected_uris "/"
ynh_app_setting_delete "$app" skipped_uris
# Reload services
sudo service php5-fpm restart || true