]> git.kaiwu.me - nginx.git/commitdiff
gzip_disable msie6 did not inherited if nginx was built without PCRE
authorIgor Sysoev <igor@sysoev.ru>
Thu, 2 Sep 2010 13:54:28 +0000 (13:54 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 2 Sep 2010 13:54:28 +0000 (13:54 +0000)
src/http/ngx_http_core_module.c

index b438907bb5cfc74e22ef73c739c9ad632b76d553..53ea3f151ce30a68d87da170dd60c9364e2edf07 100644 (file)
@@ -3111,8 +3111,8 @@ ngx_http_core_create_loc_conf(ngx_conf_t *cf)
     clcf->gzip_http_version = NGX_CONF_UNSET_UINT;
 #if (NGX_PCRE)
     clcf->gzip_disable = NGX_CONF_UNSET_PTR;
-    clcf->gzip_disable_msie6 = 3;
 #endif
+    clcf->gzip_disable_msie6 = 3;
 #endif
 
     return clcf;