changeset 3752:6cde13492433

gzip_disable msie6 did not inherited if nginx was built without PCRE
author Igor Sysoev <igor@sysoev.ru>
date Thu, 02 Sep 2010 13:54:28 +0000
parents a4755d4fd91b
children 9da3a04fc845
files src/http/ngx_http_core_module.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -3111,9 +3111,9 @@ ngx_http_core_create_loc_conf(ngx_conf_t
     clcf->gzip_http_version = NGX_CONF_UNSET_UINT;
 #if (NGX_PCRE)
     clcf->gzip_disable = NGX_CONF_UNSET_PTR;
+#endif
     clcf->gzip_disable_msie6 = 3;
 #endif
-#endif
 
     return clcf;
 }