From c410b9cad20c2e39dec9ea916622e18fe0c42ce0 Mon Sep 17 00:00:00 2001 From: Moul Date: Sun, 5 Mar 2017 16:19:13 +0100 Subject: [PATCH] [enh] Set URL redirection from root url path to webadmin. --- scripts/functions.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/functions.sh b/scripts/functions.sh index 61480c6..f9f4950 100644 --- a/scripts/functions.sh +++ b/scripts/functions.sh @@ -32,6 +32,9 @@ fi # Duniter is public app, with only some parts restricted in nginx.conf ynh_app_setting_set "$app" unprotected_uris "/" + +# Set URL redirection from root to webadmin +ynh_app_setting_set "$app" redirected_urls "{'$domain/':'$domain/webui'}" } CONFIG_NGINX_FOR_WEB_ADMIN () {