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:
parent
308832b342
commit
fc8d70aee1
2 changed files with 3 additions and 4 deletions
|
@ -156,8 +156,7 @@ ynh_app_setting_set "$app" user_home "$user_home"
|
||||||
ynh_app_setting_set "$app" mysqlpwd "$dbpass"
|
ynh_app_setting_set "$app" mysqlpwd "$dbpass"
|
||||||
|
|
||||||
# Set SSOwat rules
|
# Set SSOwat rules
|
||||||
ynh_app_setting_set "$app" unprotected_uris "/remote.php"
|
ynh_app_setting_set "$app" unprotected_uris "/"
|
||||||
ynh_app_setting_set "$app" skipped_uris "/.well-known"
|
|
||||||
|
|
||||||
# Reload services
|
# Reload services
|
||||||
sudo service php5-fpm restart || true
|
sudo service php5-fpm restart || true
|
||||||
|
|
|
@ -146,8 +146,8 @@ sudo chmod 640 "${DESTDIR}/config/config.php"
|
||||||
sudo chmod 755 /home/yunohost.app
|
sudo chmod 755 /home/yunohost.app
|
||||||
|
|
||||||
# Set SSOwat rules
|
# Set SSOwat rules
|
||||||
ynh_app_setting_set "$app" unprotected_uris "/remote.php"
|
ynh_app_setting_set "$app" unprotected_uris "/"
|
||||||
ynh_app_setting_set "$app" skipped_uris "/.well-known"
|
ynh_app_setting_delete "$app" skipped_uris
|
||||||
|
|
||||||
# Reload services
|
# Reload services
|
||||||
sudo service php5-fpm restart || true
|
sudo service php5-fpm restart || true
|
||||||
|
|
Loading…
Add table
Reference in a new issue