diff --git a/conf/nginx.conf b/conf/nginx.conf index 637119a..838cd1a 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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) { diff --git a/manifest.json b/manifest.json index 3746b3b..d97cd5b 100644 --- a/manifest.json +++ b/manifest.json @@ -36,12 +36,7 @@ "type": "domain", "example": "domain.org" }, - { - "name": "path", - "type": "path", - "example": "/web", - "default": "/web" - }, + { "name": "is_public", "type": "boolean", diff --git a/scripts/install b/scripts/install index 9b21100..d01e921 100644 --- a/scripts/install +++ b/scripts/install @@ -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