1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mumbleserver_ynh.git synced 2024-09-03 19:46:03 +02:00
This commit is contained in:
ericgaspar 2021-06-05 10:02:21 +02:00
parent 9d154ba9c8
commit a241b3c3e6
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 6 additions and 11 deletions

View file

@ -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) {

View file

@ -36,12 +36,7 @@
"type": "domain",
"example": "domain.org"
},
{
"name": "path",
"type": "path",
"example": "/web",
"default": "/web"
},
{
"name": "is_public",
"type": "boolean",

View file

@ -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