mirror of
https://github.com/YunoHost-Apps/duniter_ynh.git
synced 2024-09-03 18:26:35 +02:00
[enh] Set URL redirection from root url path to webadmin.
This commit is contained in:
parent
47af883066
commit
c410b9cad2
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,9 @@ fi
|
||||||
|
|
||||||
# Duniter is public app, with only some parts restricted in nginx.conf
|
# 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 "/"
|
||||||
|
|
||||||
|
# Set URL redirection from root to webadmin
|
||||||
|
ynh_app_setting_set "$app" redirected_urls "{'$domain/':'$domain/webui'}"
|
||||||
}
|
}
|
||||||
|
|
||||||
CONFIG_NGINX_FOR_WEB_ADMIN () {
|
CONFIG_NGINX_FOR_WEB_ADMIN () {
|
||||||
|
|
Loading…
Add table
Reference in a new issue