Browse Source
create the api permission in install script
pull/241/head
Kay0u
5 years ago
No known key found for this signature in database
GPG Key ID: AE1DCADB6415A156
1 changed files with
1 additions and
1 deletions
-
scripts/install
|
|
@ -340,7 +340,7 @@ ynh_add_fail2ban_config --logpath="/home/yunohost.app/$app/data/nextcloud.log" - |
|
|
#================================================= |
|
|
#================================================= |
|
|
ynh_script_progression --message="Configuring SSOwat..." |
|
|
ynh_script_progression --message="Configuring SSOwat..." |
|
|
|
|
|
|
|
|
ynh_permission_create --permission="api" --url="re:$(sed 's/[\.\-]/\%&/g' <<< $domain)/%.well%-known/.*" |
|
|
|
|
|
|
|
|
ynh_permission_create --permission="api" --label="api" --url="re:$(sed 's/[\.\-]/\%&/g' <<< $domain)/%.well%-known/.*" --allowed="visitors" "all_users" --auth_header="false" --show_tile="false" --protected="true" |
|
|
|
|
|
|
|
|
#================================================= |
|
|
#================================================= |
|
|
# RELOAD NGINX |
|
|
# RELOAD NGINX |
|
|
|