ngx_http_random_index_module

ngx_http_random_index_module 모듈은 슬래시 문자(‘/’)로 요청 종료를 처리하고 인덱스 파일 역할을 수행할 디렉터리에서 임의 파일을 선택합니다. 모듈은 ngx_http_index_module 모듈 전에 처리됩니다.

이 모듈은 기본적으로 빌드되지 않고–with-http_random_index_module 구성 매개변수로 활성화해야 합니다.

예제 구성

location / {
    random_index on;
}

Directives

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

주변 위치에서 모듈 처리를 활성화하거나 비활성화합니다.