Mercurial > hg > nginx-quic
diff src/core/nginx.c @ 40:d5d4f3bba6f0
nginx-0.0.1-2002-12-26-10:24:21 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 26 Dec 2002 07:24:21 +0000 |
parents | 83fa61cd3d2f |
children | 59e7c7f30d49 |
line wrap: on
line diff
--- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -56,12 +56,13 @@ int main(int argc, char *const *argv) /* TODO: read config */ -#if 0 +#if 1 ngx_memzero(&conf, sizeof(ngx_conf_t)); ngx_test_null(conf.args, ngx_create_array(ngx_pool, 10, sizeof(ngx_str_t)), 1); conf.pool = ngx_pool; conf.log = &ngx_log; + conf.modules = ngx_http_modules; conf_file.len = sizeof("nginx.conf") - 1; conf_file.data = "nginx.conf";