Mercurial > hg > nginx-site
view xml/en/docs/http/ngx_http_autoindex_module.xml @ 840:9dab69f2b71d
Documented nginx 1.2.7 changes.
- variables support in the "auth_basic" directive;
- new generic variables $pipe, $request_length, $time_iso8601, and $time_local;
- IPv6 support in ngx_http_geo_module and ngx_http_geoip_module;
- "gzip" and "flush" parameters of the "access_log" directive.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 12 Feb 2013 16:45:45 +0400 |
parents | 0422511d9bee |
children | 95c3c3bbf1ce |
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="Module ngx_http_autoindex_module" link="/en/docs/http/ngx_http_autoindex_module.html" lang="en" rev="2"> <section id="summary"> <para> The <literal>ngx_http_autoindex_module</literal> module processes requests ending with the slash character (‘<literal>/</literal>’) and produces a directory listing. Usually a request is passed to the <literal>ngx_http_autoindex_module</literal> module when the <link doc="ngx_http_index_module.xml">ngx_http_index_module</link> module could not find an index file. </para> </section> <section id="example" name="Example Configuration"> <para> <example> location / { autoindex on; } </example> </para> </section> <section id="directives" name="Directives"> <directive name="autoindex"> <syntax><literal>on</literal> | <literal>off</literal></syntax> <default>off</default> <context>http</context> <context>server</context> <context>location</context> <para> Enables or disables a directory listing output. </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> Specifies whether file sizes in the directory listing should be output exactly, or rounded to kilobytes, megabytes, and gigabytes. </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> Specifies whether times in the directory listing should be output in a local time zone or UTC. </para> </directive> </section> </module>