ngx_http_random_index_module

This commit is contained in:
Igor Sysoev
2008-09-05 15:45:55 +00:00
parent dfc8dadd04
commit 2e2b81d213
4 changed files with 335 additions and 0 deletions

View File

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