mirror of
https://github.com/YunoHost-Apps/mumbleserver_ynh.git
synced 2024-09-03 19:46:03 +02:00
Fix
This commit is contained in:
parent
9d154ba9c8
commit
a241b3c3e6
3 changed files with 6 additions and 11 deletions
|
@ -1,8 +1,7 @@
|
|||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||
location __PATH__/ {
|
||||
location / {
|
||||
|
||||
# Path to source
|
||||
alias __FINALPATH__/dist/ ;
|
||||
#alias __FINALPATH__/dist/ ;
|
||||
|
||||
# Force usage of https
|
||||
if ($scheme = http) {
|
||||
|
|
|
@ -36,12 +36,7 @@
|
|||
"type": "domain",
|
||||
"example": "domain.org"
|
||||
},
|
||||
{
|
||||
"name": "path",
|
||||
"type": "path",
|
||||
"example": "/web",
|
||||
"default": "/web"
|
||||
},
|
||||
|
||||
{
|
||||
"name": "is_public",
|
||||
"type": "boolean",
|
||||
|
|
|
@ -24,7 +24,7 @@ ynh_abort_if_errors
|
|||
|
||||
# Retrieve arguments
|
||||
domain=$YNH_APP_ARG_DOMAIN
|
||||
path_url=$YNH_APP_ARG_PATH
|
||||
path_url="/"
|
||||
welcometext=$YNH_APP_ARG_WELCOMETEXT
|
||||
registername=$YNH_APP_ARG_REGISTERNAME
|
||||
instance_id=$YNH_APP_INSTANCE_NUMBER
|
||||
|
@ -130,6 +130,7 @@ ynh_add_nginx_config
|
|||
#=================================================
|
||||
# mumble server conf.ini
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring Mumble server..." --weight=1
|
||||
|
||||
ynh_add_config --template="../conf/mumble-server.ini" --destination="$final_path/mumble-server.ini"
|
||||
|
||||
|
@ -147,7 +148,7 @@ fi
|
|||
#=================================================
|
||||
# SETUP SYSTEMD
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring a systemd service..." --weight=1
|
||||
ynh_script_progression --message="Configuring a systemd service..." --weight=10
|
||||
|
||||
# Create a dedicated systemd config
|
||||
ynh_add_systemd_config
|
||||
|
|
Loading…
Add table
Reference in a new issue