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

[fix] Skip the /.well-known paths in SSOwat

This commit is contained in:
Jérôme Lebleu 2016-06-07 12:28:31 +02:00
parent 6faaee4e9d
commit ad96fdd9e8
2 changed files with 4 additions and 1 deletions

View file

@ -157,6 +157,8 @@ ynh_app_setting_set "$app" mysqlpwd "$dbpass"
# Set SSOwat rules
ynh_app_setting_set "$app" unprotected_uris "/"
ynh_app_setting_set "$app" skipped_regex \
"$(sed 's/[\.\-]/\%&/g' <<< $domain)/%.well%-known/.*"
# Reload services
sudo service php5-fpm restart || true

View file

@ -147,7 +147,8 @@ sudo chmod 755 /home/yunohost.app
# Set SSOwat rules
ynh_app_setting_set "$app" unprotected_uris "/"
ynh_app_setting_delete "$app" skipped_uris
ynh_app_setting_set "$app" skipped_regex \
"$(sed 's/[\.\-]/\%&/g' <<< $domain)/%.well%-known/.*"
# Reload services
sudo service php5-fpm restart || true