diff options
author | Igor Sysoev <igor@sysoev.ru> | 2002-12-26 07:24:21 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2002-12-26 07:24:21 +0000 |
commit | 960ffa42cb161b3769cde9bbf2212092e751dfab (patch) | |
tree | 8839d7c465a5971c36faa91e27b7df38c1376912 /src/core/nginx.c | |
parent | 3a17f2483690412134e548a1a961e1424f958c01 (diff) | |
download | nginx-960ffa42cb161b3769cde9bbf2212092e751dfab.tar.gz nginx-960ffa42cb161b3769cde9bbf2212092e751dfab.zip |
nginx-0.0.1-2002-12-26-10:24:21 import
Diffstat (limited to 'src/core/nginx.c')
-rw-r--r-- | src/core/nginx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c index 3d2d4403f..bab1fa738 100644 --- 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"; |