summaryrefslogtreecommitdiffhomepage
path: root/auto/modules
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-09-10 16:52:47 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-09-10 16:52:47 +0000
commit90bd33e8ebf8f2cdfe9a809573d6f27490190dc7 (patch)
treed86279de188212f633f7636a9ad43ba597c4d66d /auto/modules
parent86aee85d2ea41d79999ed95333ede8fdd8a135c2 (diff)
downloadnginx-90bd33e8ebf8f2cdfe9a809573d6f27490190dc7.tar.gz
nginx-90bd33e8ebf8f2cdfe9a809573d6f27490190dc7.tar.bz2
Gunzip filter import.
Diffstat (limited to 'auto/modules')
-rw-r--r--auto/modules8
1 files changed, 8 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules
index 2d9da945c..09923911a 100644
--- a/auto/modules
+++ b/auto/modules
@@ -109,6 +109,7 @@ fi
# ngx_http_image_filter
# ngx_http_sub_filter
# ngx_http_addition_filter
+# ngx_http_gunzip_filter
# ngx_http_userid_filter
# ngx_http_headers_filter
# ngx_http_copy_filter
@@ -166,6 +167,13 @@ if [ $HTTP_ADDITION = YES ]; then
HTTP_SRCS="$HTTP_SRCS $HTTP_ADDITION_SRCS"
fi
+if [ $HTTP_GUNZIP = YES ]; then
+ have=NGX_HTTP_GZIP . auto/have
+ USE_ZLIB=YES
+ HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_GUNZIP_FILTER_MODULE"
+ HTTP_SRCS="$HTTP_SRCS $HTTP_GUNZIP_SRCS"
+fi
+
if [ $HTTP_USERID = YES ]; then
HTTP_FILTER_MODULES="$HTTP_FILTER_MODULES $HTTP_USERID_FILTER_MODULE"
HTTP_SRCS="$HTTP_SRCS $HTTP_USERID_SRCS"