set default gzip_buffers to 32 4k or 16 8k

This commit is contained in:
Igor Sysoev 2008-12-16 16:15:52 +00:00
parent 726732cb89
commit c4d029f7d6
1 changed files with 2 additions and 1 deletions

View File

@ -1094,7 +1094,8 @@ ngx_http_gzip_merge_conf(ngx_conf_t *cf, void *parent, void *child)
ngx_conf_merge_value(conf->enable, prev->enable, 0);
ngx_conf_merge_bufs_value(conf->bufs, prev->bufs, 4, ngx_pagesize);
ngx_conf_merge_bufs_value(conf->bufs, prev->bufs,
(128 * 1024) / ngx_pagesize, ngx_pagesize);
ngx_conf_merge_value(conf->level, prev->level, 1);
ngx_conf_merge_size_value(conf->wbits, prev->wbits, MAX_WBITS);