FAQ

Page Discussion Edit History

HttpAutoindexModule

Contents

[edit] Synopsis

This module provides automatic directory listings.

The request only reaches the ngx_http_autoindex_module when the ngx_http_index_module did not find an index file.

Example configuration

[edit] Directives

[edit] autoindex

Syntax: autoindex on | off
Default: off
Context: http
server
location
Reference:autoindex


Enables or disables the automatic directory listing.

[edit] autoindex_exact_size

Syntax: autoindex_exact_size on | off
Default: on
Context: http
server
location
Reference:autoindex_exact_size


Defines how to represent file sizes in the directory listing -- either accurately (in bytes), or rounded (KB, MB or GB).

[edit] autoindex_localtime

Syntax: autoindex_localtime on | off
Default: off
Context: http
server
location
Reference:autoindex_localtime


Enables showing file times as local time. Default is "off" (GMT time).

[edit] References

Original Documentation