1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/z-push_ynh.git synced 2024-09-03 18:05:58 +02:00

add domain in skipped_regex

This commit is contained in:
yalh76 2019-04-10 03:32:58 +02:00
parent 43b5e84a05
commit bd35b7238e
2 changed files with 4 additions and 2 deletions

View file

@ -218,7 +218,8 @@ ynh_print_info "Configuring SSOwat..."
# Make app public # Make app public
ynh_app_setting_set $app unprotected_uris "/" ynh_app_setting_set $app unprotected_uris "/"
ynh_app_setting_set $app skipped_regex "^[^/]*/[Aa]uto[Dd]iscover.*" domain_regex=$(echo "$domain" | sed 's@-@.@g')
ynh_app_setting_set $app skipped_regex "$domain_regex/[Aa]uto[Dd]iscover/.*"
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX

View file

@ -225,7 +225,8 @@ ynh_print_info "Upgrading SSOwat configuration..."
# Make app public # Make app public
ynh_app_setting_set $app unprotected_uris "/" ynh_app_setting_set $app unprotected_uris "/"
ynh_app_setting_set $app skipped_regex "^[^/]*/[Aa]uto[Dd]iscover.*" domain_regex=$(echo "$domain" | sed 's@-@.@g')
ynh_app_setting_set $app skipped_regex "$domain_regex/[Aa]uto[Dd]iscover/.*"
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX