Mercurial > hg > nginx-site
view xml/ru/docs/http/ngx_http_random_index_module.xml @ 505:837bcf62b628
Emphasized on what the "updating" parameter of the "fastcgi_cache_use_stale"
directive achieves. Referenced the "fastcgi_cache_lock" directive from there,
which has similar effect when populating a new cache element.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 24 Apr 2012 07:24:22 +0000 |
parents | a4fa80755eab |
children | be54c443235a |
line wrap: on
line source
<?xml version="1.0"?> <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> <module name="Модуль ngx_http_random_index_module" link="/ru/docs/http/ngx_http_random_index_module.html" lang="ru"> <section id="summary"> <para> Модуль <literal>ngx_http_random_index_module</literal> выдаёт случайный файл в качестве индексного файла каталога. Модуль работает до модуля <link doc="ngx_http_index_module.xml">ngx_http_index_module</link>. </para> <para> По умолчанию этот модуль не собирается, его сборку необходимо разрешить с помощью конфигурационного параметра <literal>--with-http_random_index_module</literal>. </para> </section> <section id="example" name="Пример конфигурации"> <para> <example> location / { random_index on; } </example> </para> </section> <section id="directives" name="Директивы"> <directive name="random_index"> <syntax><literal>on</literal> | <literal>off</literal></syntax> <default>off</default> <context>location</context> <para> Разрешает или запрещает в содержащем location обработку этим модулем. </para> </directive> </section> </module>