1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wekan_ynh.git synced 2024-09-03 20:36:09 +02:00

fix nginx

This commit is contained in:
yalh76 2019-03-07 18:30:47 +01:00
parent 60fc6d9993
commit c23ea33bd3

View file

@ -20,9 +20,6 @@ old_path=$YNH_APP_OLD_PATH
new_domain=$YNH_APP_NEW_DOMAIN
new_path=$YNH_APP_NEW_PATH
db_name=$(ynh_app_setting_get $app db_name)
port=$(ynh_app_setting_get $app port)
app=$YNH_APP_INSTANCE_NAME
#=================================================
@ -36,6 +33,8 @@ final_path=$(ynh_app_setting_get $app final_path)
# Add settings here as needed by your application
#db_name=$(ynh_app_setting_get "$app" db_name)
#db_pwd=$(ynh_app_setting_get $app db_pwd)
db_name=$(ynh_app_setting_get $app db_name)
port=$(ynh_app_setting_get $app port)
#=================================================
# CHECK THE SYNTAX OF THE PATHS
@ -80,7 +79,7 @@ then
domain="$old_domain"
path_url="$new_path"
# Create a dedicated nginx config
ynh_add_nginx_config port
ynh_add_nginx_config
fi
# Change the domain for nginx