mirror of
https://github.com/YunoHost-Apps/hydrogen_ynh.git
synced 2024-09-03 19:26:17 +02:00
Add path
This commit is contained in:
parent
d9a0926b82
commit
0570cf1528
3 changed files with 10 additions and 1 deletions
|
@ -4,4 +4,7 @@ location __PATH__/ {
|
|||
alias __FINALPATH__/;
|
||||
|
||||
index index.html;
|
||||
|
||||
# Include SSOWAT user panel.
|
||||
include conf.d/yunohost_panel.conf.inc;
|
||||
}
|
||||
|
|
|
@ -32,6 +32,12 @@
|
|||
"name": "domain",
|
||||
"type": "domain"
|
||||
},
|
||||
{
|
||||
"name": "path",
|
||||
"type": "path",
|
||||
"example": "/hydrogen",
|
||||
"default": "/hydrogen"
|
||||
},
|
||||
{
|
||||
"name": "default_server",
|
||||
"type": "string",
|
||||
|
|
|
@ -25,7 +25,7 @@ ynh_abort_if_errors
|
|||
#=================================================
|
||||
|
||||
domain=$YNH_APP_ARG_DOMAIN
|
||||
path_url="/"
|
||||
path_url=$YNH_APP_ARG_PATH
|
||||
is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||
default_server=$YNH_APP_ARG_DEFAULT_SERVER
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue