Module ngx_http_random_index_module

The ngx_http_random_index_module module processes requests ending with the slash character (‘/’) and picks a random file in a directory to serve as an index file. The module is processed 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.

random_index
  • References/Server/Nginx/Modules reference/ngx_http_random_index_module

Syntax: random_index on | off; Default: random_index off;

2025-01-10 15:47:30