summaryrefslogtreecommitdiffhomepage
path: root/auto/modules
diff options
context:
space:
mode:
Diffstat (limited to 'auto/modules')
-rw-r--r--auto/modules7
1 files changed, 7 insertions, 0 deletions
diff --git a/auto/modules b/auto/modules
index 89f53b722..f6fde2452 100644
--- a/auto/modules
+++ b/auto/modules
@@ -81,6 +81,7 @@ fi
# ngx_http_dav_module
# ngx_http_autoindex_module
# ngx_http_index_module
+# ngx_http_random_index_module
#
# ngx_http_access_module
# ngx_http_realip_module
@@ -177,6 +178,12 @@ fi
HTTP_MODULES="$HTTP_MODULES $HTTP_INDEX_MODULE"
+if [ $HTTP_RANDOM_INDEX = YES ]; then
+ have=NGX_HTTP_RANDOM_INDEX . auto/have
+ HTTP_MODULES="$HTTP_MODULES $HTTP_RANDOM_INDEX_MODULE"
+ HTTP_SRCS="$HTTP_SRCS $HTTP_RANDOM_INDEX_SRCS"
+fi
+
if [ $HTTP_AUTH_BASIC = YES ]; then
have=NGX_HTTP_AUTH_BASIC . auto/have
have=NGX_CRYPT . auto/have