HttpAutoindexModule

WARNING: this article is obsoleted. Please refer to http://nginx.org/en/docs/ for the latest official documentation.

= 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 location /  { autoindex on; }

= Directives =

autoindex


Enables or disables the automatic directory listing.

autoindex_exact_size


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

autoindex_localtime


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

= References = Original Documentation