diff --git a/src/core/ngx_conf_file.c b/src/core/ngx_conf_file.c index 0eb6388cb..ed7a2ce92 100644 --- a/src/core/ngx_conf_file.c +++ b/src/core/ngx_conf_file.c @@ -946,6 +946,7 @@ ngx_conf_open_file(ngx_cycle_t *cycle, ngx_str_t *name) } file->flush = NULL; + file->data = NULL; return file; }