Mercurial > hg > nginx-site
view xml/ru/docs/http/ngx_http_autoindex_module.xml @ 406:98dac2bd7598
Links with mixed underscores and spaces were hard to read, eliminated them.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 13 Feb 2012 11:09:13 +0000 |
parents | bb51d3e17dd0 |
children | be54c443235a |
line wrap: on
line source
<?xml version="1.0"?> <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> <module name="Модуль ngx_http_autoindex_module" link="/ru/docs/http/ngx_http_autoindex_module.html" lang="ru"> <section id="summary"> <para> Модуль <literal>ngx_http_autoindex_module</literal> выдаёт листинг каталога. Обычно запрос попадает к модулю <literal>ngx_http_autoindex_module</literal>, когда модуль <link doc="ngx_http_index_module.xml">ngx_http_index_module</link> не нашёл индексный файл. </para> </section> <section id="example" name="Пример конфигурации"> <para> <example> location / { autoindex on; } </example> </para> </section> <section id="directives" name="Директивы"> <directive name="autoindex"> <syntax><literal>on</literal> | <literal>off</literal></syntax> <default>off</default> <context>http</context> <context>server</context> <context>location</context> <para> Разрешает или запрещает вывод листинга каталога. </para> </directive> <directive name="autoindex_exact_size"> <syntax><literal>on</literal> | <literal>off</literal></syntax> <default>on</default> <context>http</context> <context>server</context> <context>location</context> <para> Определяет, как выводить размеры файлов в листинге каталога — точно, или округляя до килобайт, мегабайт и гигабайт. </para> </directive> <directive name="autoindex_localtime"> <syntax><literal>on</literal> | <literal>off</literal></syntax> <default>off</default> <context>http</context> <context>server</context> <context>location</context> <para> Определяет, в какой временной зоне выводить время в листинге каталога — в локальной или в UTC. </para> </directive> </section> </module>