mirror of
https://github.com/YunoHost-Apps/duniter_ynh.git
synced 2024-09-03 18:26:35 +02:00
[fix] "/modules" URI should not be protected
This commit is contained in:
parent
de988df2c7
commit
a44139f31b
1 changed files with 2 additions and 2 deletions
|
@ -17,10 +17,10 @@ CONFIG_SSOWAT () {
|
|||
sudo yunohost app addaccess $app -u $admin
|
||||
|
||||
# Protect senstive sub-routes
|
||||
ynh_app_setting_set "$app" protected_uris "/webui","/webmin","/modules"
|
||||
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 "/"
|
||||
ynh_app_setting_set "$app" unprotected_uris "/","/modules"
|
||||
|
||||
# Set URL redirection from root to webadmin
|
||||
ynh_app_setting_set "$app" redirected_urls "{'$domain/':'$domain/webui'}"
|
||||
|
|
Loading…
Reference in a new issue