=encoding utf-8 =head1 NAME ngx_http_autoindex_module - Module ngx_http_autoindex_module =head1 The C module processes requests ending with the slash character (‘C>’) and produces a directory listing. Usually a request is passed to the C module when the L module cannot find an index file. =head1 Example Configuration location / { autoindex on; } =head1 Directives =head2 autoindex B autoindex I E C> B I B I B I B I Enables or disables the directory listing output. =head2 autoindex_exact_size B autoindex_exact_size I E C> B I B I B I B I For the HTML format, specifies whether exact file sizes should be output in the directory listing, or rather rounded to kilobytes, megabytes, and gigabytes. =head2 autoindex_format B autoindex_format I< C E C E C E C> B I B I B I B I This directive appeared in version 1.7.9. Sets the format of a directory listing. When the JSONP format is used, the name of a callback function is set with the C request argument. If the argument is missing or has an empty value, then the JSON format is used. The XML output can be transformed using the L module. =head2 autoindex_localtime B autoindex_localtime I E C> B I B I B I B I For the HTML format, specifies whether times in the directory listing should be output in the local time zone or UTC.