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" ]
then
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"
else
# TODO