diff auto/modules @ 1790:775edc46ee66

ngx_http_gzip_static_module and gzip_disable
author Igor Sysoev <igor@sysoev.ru>
date Thu, 27 Dec 2007 14:21:59 +0000
parents f69493e8faab
children 7c832e132dbc
line wrap: on
line diff
--- a/auto/modules
+++ b/auto/modules
@@ -265,6 +265,12 @@ if [ $HTTP_FLV = YES ]; then
     HTTP_SRCS="$HTTP_SRCS $HTTP_FLV_SRCS"
 fi
 
+if [ $HTTP_GZIP_STATIC = YES ]; then
+    have=NGX_HTTP_GZIP . auto/have
+    HTTP_MODULES="$HTTP_MODULES $HTTP_GZIP_STATIC_MODULE"
+    HTTP_SRCS="$HTTP_SRCS $HTTP_GZIP_STATIC_SRCS"
+fi
+
 if [ $HTTP_UPSTREAM_IP_HASH = YES ]; then
     HTTP_MODULES="$HTTP_MODULES $HTTP_UPSTREAM_IP_HASH_MODULE"
     HTTP_SRCS="$HTTP_SRCS $HTTP_UPSTREAM_IP_HASH_SRCS"