mirror of
https://github.com/nginx/nginx.git
synced 2025-01-02 12:17:40 -06:00
ngx_http_limit_zone_module must run after ngx_http_realip_module
This commit is contained in:
parent
6eee80156f
commit
684f955135
10
auto/modules
10
auto/modules
@ -169,6 +169,11 @@ if [ $HTTP_ACCESS = YES ]; then
|
||||
HTTP_SRCS="$HTTP_SRCS $HTTP_ACCESS_SRCS"
|
||||
fi
|
||||
|
||||
if [ $HTTP_LIMIT_ZONE = YES ]; then
|
||||
HTTP_MODULES="$HTTP_MODULES $HTTP_LIMIT_ZONE_MODULE"
|
||||
HTTP_SRCS="$HTTP_SRCS $HTTP_LIMIT_ZONE_SRCS"
|
||||
fi
|
||||
|
||||
if [ $HTTP_REALIP = YES ]; then
|
||||
have=NGX_HTTP_REALIP . auto/have
|
||||
HTTP_MODULES="$HTTP_MODULES $HTTP_REALIP_MODULE"
|
||||
@ -240,11 +245,6 @@ if [ $HTTP_MEMCACHED = YES ]; then
|
||||
HTTP_SRCS="$HTTP_SRCS $HTTP_MEMCACHED_SRCS"
|
||||
fi
|
||||
|
||||
if [ $HTTP_LIMIT_ZONE = YES ]; then
|
||||
HTTP_MODULES="$HTTP_MODULES $HTTP_LIMIT_ZONE_MODULE"
|
||||
HTTP_SRCS="$HTTP_SRCS $HTTP_LIMIT_ZONE_SRCS"
|
||||
fi
|
||||
|
||||
if [ $HTTP_EMPTY_GIF = YES ]; then
|
||||
HTTP_MODULES="$HTTP_MODULES $HTTP_EMPTY_GIF_MODULE"
|
||||
HTTP_SRCS="$HTTP_SRCS $HTTP_EMPTY_GIF_SRCS"
|
||||
|
Loading…
Reference in New Issue
Block a user