1
0
Fork 0
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:
Cédric Moreau 2017-06-21 11:31:21 +02:00 committed by GitHub
parent de988df2c7
commit a44139f31b

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