Mercurial > hg > nginx-site
view xml/ru/docs/http/ngx_http_autoindex_module.xml @ 2769:16f6fa718be2
Updated TLSv1.3 support notes.
Previous notes described some early development snapshot of OpenSSL 1.1.1
with disabled TLSv1.3 by default. It was then enabled in the first alpha.
Further, the updated text covers later major releases such as OpenSSL 3.0.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 30 Sep 2021 16:29:20 +0300 |
parents | 6866a74393e0 |
children |
line wrap: on
line source
<?xml version="1.0"?> <!-- Copyright (C) Igor Sysoev Copyright (C) Nginx, Inc. --> <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> <module name="Модуль ngx_http_autoindex_module" link="/ru/docs/http/ngx_http_autoindex_module.html" lang="ru" rev="4"> <section id="summary"> <para> Модуль <literal>ngx_http_autoindex_module</literal> обслуживает запросы, оканчивающиеся слэшом (‘<literal>/</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> Для <link id="autoindex_format">формата</link> HTML определяет, как выводить размеры файлов в листинге каталога: точно или округляя до килобайт, мегабайт и гигабайт. </para> </directive> <directive name="autoindex_format"> <syntax> <literal>html</literal> | <literal>xml</literal> | <literal>json</literal> | <literal>jsonp</literal></syntax> <default>html</default> <context>http</context> <context>server</context> <context>location</context> <appeared-in>1.7.9</appeared-in> <para> Задаёт формат вывода листинга каталога. </para> <para> При использовании формата JSONP имя callback-функции задаётся в аргументе запроса <literal>callback</literal>. Если аргумент отсутствует или имеет пустое значение, то используется формат JSON. </para> <para> Вывод в формате XML может быть преобразован при помощи модуля <link doc="ngx_http_xslt_module.xml">ngx_http_xslt_module</link>. </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> Для <link id="autoindex_format">формата</link> HTML определяет, в какой временной зоне выводить время в листинге каталога: в локальной или в UTC. </para> </directive> </section> </module>