Klaus Demo nginx / e19a5f9
set ngx_http_gzip_static module just before ngx_http_static_module Igor Sysoev 11 years ago
1 changed file(s) with 6 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
145145
146146 HTTP_MODULES="$HTTP_MODULES $HTTP_STATIC_MODULE"
147147
148 if [ $HTTP_GZIP_STATIC = YES ]; then
149 have=NGX_HTTP_GZIP . auto/have
150 HTTP_MODULES="$HTTP_MODULES $HTTP_GZIP_STATIC_MODULE"
151 HTTP_SRCS="$HTTP_SRCS $HTTP_GZIP_STATIC_SRCS"
152 fi
153
148154 if [ $HTTP_DAV = YES ]; then
149155 have=NGX_HTTP_DAV . auto/have
150156 HTTP_MODULES="$HTTP_MODULES $HTTP_DAV_MODULE"
264270 HTTP_SRCS="$HTTP_SRCS $HTTP_FLV_SRCS"
265271 fi
266272
267 if [ $HTTP_GZIP_STATIC = YES ]; then
268 have=NGX_HTTP_GZIP . auto/have
269 HTTP_MODULES="$HTTP_MODULES $HTTP_GZIP_STATIC_MODULE"
270 HTTP_SRCS="$HTTP_SRCS $HTTP_GZIP_STATIC_SRCS"
271 fi
272
273273 if [ $HTTP_UPSTREAM_IP_HASH = YES ]; then
274274 HTTP_MODULES="$HTTP_MODULES $HTTP_UPSTREAM_IP_HASH_MODULE"
275275 HTTP_SRCS="$HTTP_SRCS $HTTP_UPSTREAM_IP_HASH_SRCS"