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

Fix setting set about custom error code value

This commit is contained in:
Aurelien Vaillant 2023-08-18 11:23:39 +02:00
parent 7d919559a1
commit 0f008b68d2

View file

@ -65,7 +65,8 @@ fi
# Add the custom error build with the application
ynh_add_config --template="nginx-code-error.conf" --destination="$nginx_extra_conf_dir/error-code.conf"
CUSTOM_ERROR_FILE="true"
ynh_app_setting_set --app=$app --key=custom_error_file --value="true"
# Create a dedicated NGINX config
ynh_add_nginx_config