1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_webapp_ynh.git synced 2024-09-03 19:46:26 +02:00

Variable not declared

This commit is contained in:
Aurelien Vaillant 2023-08-17 16:30:25 +02:00
parent beb6c7e399
commit efc260135c

View file

@ -151,6 +151,7 @@ ynh_app_config_apply() {
if [ "${changed[custom_error_file]}" == "true" ] if [ "${changed[custom_error_file]}" == "true" ]
then then
CUSTOM_ERROR_FILE=$custom_error_file CUSTOM_ERROR_FILE=$custom_error_file
nginx_extra_conf_dir="/etc/nginx/conf.d/$domain.d/$app.d"
ynh_add_config --template="nginx-code-error.conf" --destination="$nginx_extra_conf_dir/error-code.conf" ynh_add_config --template="nginx-code-error.conf" --destination="$nginx_extra_conf_dir/error-code.conf"
else else
# TODO # TODO