gzip_disable msie6 did not inherited if nginx was built without PCRE

This commit is contained in:
Igor Sysoev 2010-09-02 13:54:28 +00:00
parent 8a9f761927
commit 4db3b3e2c4

View File

@ -3111,8 +3111,8 @@ ngx_http_core_create_loc_conf(ngx_conf_t *cf)
clcf->gzip_http_version = NGX_CONF_UNSET_UINT; clcf->gzip_http_version = NGX_CONF_UNSET_UINT;
#if (NGX_PCRE) #if (NGX_PCRE)
clcf->gzip_disable = NGX_CONF_UNSET_PTR; clcf->gzip_disable = NGX_CONF_UNSET_PTR;
clcf->gzip_disable_msie6 = 3;
#endif #endif
clcf->gzip_disable_msie6 = 3;
#endif #endif
return clcf; return clcf;