diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2007-12-27 14:21:59 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2007-12-27 14:21:59 +0000 |
| commit | c16b005f30e391ff675f3837d1637377a5e4f5e7 (patch) | |
| tree | c2f639bfa4a441ced8a34eb4a3d22451e094f45b /auto | |
| parent | 3d70581d458668b607ca95e39882b5c6a48a461e (diff) | |
| download | nginx-c16b005f30e391ff675f3837d1637377a5e4f5e7.tar.gz nginx-c16b005f30e391ff675f3837d1637377a5e4f5e7.tar.bz2 | |
ngx_http_gzip_static_module and gzip_disable
Diffstat (limited to 'auto')
| -rw-r--r-- | auto/modules | 6 | ||||
| -rw-r--r-- | auto/options | 3 | ||||
| -rw-r--r-- | auto/sources | 4 |
3 files changed, 13 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules index f479ea9df..d81eebafd 100644 --- 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" diff --git a/auto/options b/auto/options index 25eb6fb5b..ac475c9a6 100644 --- a/auto/options +++ b/auto/options @@ -76,6 +76,7 @@ HTTP_LIMIT_ZONE=YES HTTP_EMPTY_GIF=YES HTTP_BROWSER=YES HTTP_FLV=NO +HTTP_GZIP_STATIC=NO HTTP_UPSTREAM_IP_HASH=YES # STUB @@ -162,6 +163,7 @@ do --with-http_sub_module) HTTP_SUB=YES ;; --with-http_dav_module) HTTP_DAV=YES ;; --with-http_flv_module) HTTP_FLV=YES ;; + --with-http_gzip_static_module) HTTP_GZIP_STATIC=YES ;; --without-http_charset_module) HTTP_CHARSET=NO ;; --without-http_gzip_module) HTTP_GZIP=NO ;; @@ -273,6 +275,7 @@ cat << END --with-http_sub_module enable ngx_http_sub_module --with-http_dav_module enable ngx_http_dav_module --with-http_flv_module enable ngx_http_flv_module + --with-http_gzip_static_module enable ngx_http_gzip_static_module --with-http_stub_status_module enable ngx_http_stub_status_module --without-http_charset_module disable ngx_http_charset_module diff --git a/auto/sources b/auto/sources index 58d438217..fd0cfd2fa 100644 --- a/auto/sources +++ b/auto/sources @@ -417,6 +417,10 @@ HTTP_FLV_MODULE=ngx_http_flv_module HTTP_FLV_SRCS=src/http/modules/ngx_http_flv_module.c +HTTP_GZIP_STATIC_MODULE=ngx_http_gzip_static_module +HTTP_GZIP_STATIC_SRCS=src/http/modules/ngx_http_gzip_static_module.c + + HTTP_UPSTREAM_IP_HASH_MODULE=ngx_http_upstream_ip_hash_module HTTP_UPSTREAM_IP_HASH_SRCS=src/http/modules/ngx_http_upstream_ip_hash_module.c |
