1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/duniter_ynh.git synced 2024-09-03 18:26:35 +02:00

[fix] #89: Remove /modules path from allowed path to visitors

since it brokes the access BMA since YnH v3.7 permission system
This commit is contained in:
Moul 2020-10-03 12:11:31 +02:00
parent 843e745ad3
commit b674b9a4da

View file

@ -38,7 +38,7 @@ CONFIG_SSOWAT () {
ynh_app_setting_set "$app" protected_uris "/webui","/webmin"
# Duniter is public app, with only some parts restricted in nginx.conf
ynh_app_setting_set "$app" unprotected_uris "/","/modules"
ynh_app_setting_set "$app" unprotected_uris "/"
# Set URL redirection from root to webadmin
ynh_app_setting_set "$app" redirected_urls "{'$domain/':'$domain/webui'}"