summaryrefslogtreecommitdiff
path: root/auto
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-12-29 08:38:42 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-12-29 08:38:42 +0000
commite19a5f9e8f374e7276beab9bed3c8055c6878e9a (patch)
tree6fb8ca7aa2267430eeaca0f0ba2e6811acf27f87 /auto
parentd5fe818f06124b6dec4a704f51974d56d7a13250 (diff)
set ngx_http_gzip_static module just before ngx_http_static_module
Diffstat (limited to 'auto')
-rw-r--r--auto/modules12
1 files changed, 6 insertions, 6 deletions
diff --git a/auto/modules b/auto/modules
index d81eebaf..c9b09aed 100644
--- a/auto/modules
+++ b/auto/modules
@@ -146,6 +146,12 @@ fi
HTTP_MODULES="$HTTP_MODULES $HTTP_STATIC_MODULE"
+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_DAV = YES ]; then
have=NGX_HTTP_DAV . auto/have
HTTP_MODULES="$HTTP_MODULES $HTTP_DAV_MODULE"
@@ -265,12 +271,6 @@ 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"