Module ngx_http_random_index_module

nginx


english
עברית
日本語
русский
türkçe

news

about
download
security advisories
documentation
introduction
pgp keys
howto
faq
trac
wiki
links
books
support
donation
nginx.com
@nginxorg
Example Configuration
Directives
     random_index

The module ngx_http_random_index_module picks a random file in a directory as an index file. It works before the ngx_http_index_module module.

This module is not built by default, it should be enabled with the --with-http_random_index_module configuration parameter.

Example Configuration

location / {
    random_index on;
}

Directives

syntax: random_index on | off;
default:
random_index off;
context: location

Enables or disables module processing in a surrounding location.