[fix] "/modules" URI should not be protected

This commit is contained in:
Cédric Moreau 2017-06-21 11:31:21 +02:00 committed by GitHub
parent de988df2c7
commit a44139f31b
1 changed files with 2 additions and 2 deletions

View File

@ -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'}"