mirror of
https://github.com/nginx/nginx.git
synced 2026-10-24 13:04:26 +00:00
set ngx_http_gzip_static module just before ngx_http_static_module
This commit is contained in:
parent
d5fe818f06
commit
e19a5f9e8f
1 changed files with 6 additions and 6 deletions
12
auto/modules
12
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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue