mirror of
https://github.com/YunoHost-Apps/vaultwarden_ynh.git
synced 2024-09-03 18:26:31 +02:00
Fix change url
This commit is contained in:
parent
ca7b36f2f4
commit
8b0bceeeaf
1 changed files with 3 additions and 1 deletions
|
@ -34,6 +34,8 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
|||
#db_name=$(ynh_app_setting_get --app=$app --key=db_name)
|
||||
#db_user=$db_name
|
||||
#db_pwd=$(ynh_app_setting_get --app=$app --key=db_pwd)
|
||||
rocket_port=$(ynh_app_setting_get --app=$app --key=rocket_port)
|
||||
websocket_port=$(ynh_app_setting_get --app=$app --key=websocket_port)
|
||||
|
||||
#=================================================
|
||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
||||
|
@ -93,7 +95,7 @@ then
|
|||
domain="$old_domain"
|
||||
path_url="$new_path"
|
||||
# Create a dedicated nginx config
|
||||
ynh_add_nginx_config
|
||||
ynh_add_nginx_config "websocket_port rocket_port"
|
||||
fi
|
||||
|
||||
# Change the domain for nginx
|
||||
|
|
Loading…
Reference in a new issue