Browse Source

create the api permission in install script

pull/241/head
Kay0u 5 years ago
parent
commit
712b84067b
No known key found for this signature in database GPG Key ID: AE1DCADB6415A156
  1. 2
      scripts/install

2
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_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

Loading…
Cancel
Save