summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auto/modules10
1 files changed, 5 insertions, 5 deletions
diff --git a/auto/modules b/auto/modules
index 7d5c162e4..a298210f6 100644
--- a/auto/modules
+++ b/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"