ngx_http_limit_zone_module must run after ngx_http_realip_module

This commit is contained in:
Igor Sysoev 2007-01-07 18:09:58 +00:00
parent 6eee80156f
commit 684f955135

View File

@ -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"