diff --git a/scripts/install b/scripts/install index f88e123..2edeba2 100644 --- a/scripts/install +++ b/scripts/install @@ -63,12 +63,8 @@ then YNH_PHP_VERSION="$phpversion" fi -if [ $custom_error_file -eq 1 ] -then - ynh_add_config --template="nginx-code-error.conf" --destination="$nginx_extra_conf_dir/error-code.conf" - #CUSTOM_ERROR_FILE="$custom_error_file" -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" # Create a dedicated NGINX config ynh_add_nginx_config ynh_add_config --template="example-custom-nginx-config.conf" --destination="$nginx_extra_conf_dir/sample.conf"