mirror of
https://github.com/nginx/nginx.git
synced 2026-11-02 20:30:47 -06:00
ngx_http_random_index_module
This commit is contained in:
1 parent
dfc8dadd04
commit
2e2b81d213
4 files changed
+335
No files matched your search
@@ -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
|
||||
|
||||
@@ -64,6 +64,7 @@ HTTP_ACCESS=YES
|
||||
HTTP_AUTH_BASIC=YES
|
||||
HTTP_USERID=YES
|
||||
HTTP_AUTOINDEX=YES
|
||||
HTTP_RANDOM_INDEX=NO
|
||||
HTTP_STATUS=NO
|
||||
HTTP_GEO=YES
|
||||
HTTP_MAP=YES
|
||||
@@ -171,6 +172,7 @@ do
|
||||
--with-http_dav_module) HTTP_DAV=YES ;;
|
||||
--with-http_flv_module) HTTP_FLV=YES ;;
|
||||
--with-http_gzip_static_module) HTTP_GZIP_STATIC=YES ;;
|
||||
--with-http_random_index_module) HTTP_RANDOM_INDEX=YES ;;
|
||||
|
||||
--without-http_charset_module) HTTP_CHARSET=NO ;;
|
||||
--without-http_gzip_module) HTTP_GZIP=NO ;;
|
||||
@@ -287,6 +289,7 @@ cat << END
|
||||
--with-http_dav_module enable ngx_http_dav_module
|
||||
--with-http_flv_module enable ngx_http_flv_module
|
||||
--with-http_gzip_static_module enable ngx_http_gzip_static_module
|
||||
--with-http_random_index_module enable ngx_http_random_index_module
|
||||
--with-http_stub_status_module enable ngx_http_stub_status_module
|
||||
|
||||
--without-http_charset_module disable ngx_http_charset_module
|
||||
|
||||
@@ -366,6 +366,10 @@ HTTP_AUTOINDEX_MODULE=ngx_http_autoindex_module
|
||||
HTTP_AUTOINDEX_SRCS=src/http/modules/ngx_http_autoindex_module.c
|
||||
|
||||
|
||||
HTTP_RANDOM_INDEX_MODULE=ngx_http_random_index_module
|
||||
HTTP_RANDOM_INDEX_SRCS=src/http/modules/ngx_http_random_index_module.c
|
||||
|
||||
|
||||
HTTP_STATUS_MODULE=ngx_http_status_module
|
||||
HTTP_STATUS_SRCS=src/http/modules/ngx_http_status_module.c
|
||||
|
||||
|
||||
Reference in new issue
Block a user