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:
parent
6faaee4e9d
commit
ad96fdd9e8
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue