These modules are all compiled into Nginx by default unless a module is manually specified to be excluded in configure.
This module provides an automatic directory listing. The connection request requests this module only if the master file is not found in the ngx_http_index_module. The following example:
Location/{AutoIndex on;}
Instructions
AutoIndex
Syntax: AutoIndex [On|off] Default value: AutoIndex off Working with fields: HTTP, server, location Variables: None Whether to use an automatic catalog list.
Autoindex_exact_size
Syntax: autoindex_exact_size [On|off] Default value: Autoindex_exact_size on Working with fields: HTTP, server, location Variables: None Specifies the size of the generated automatic catalog file, either accurate to bytes or using KB, MB, or GB.
Autoindex_localtime
Syntax: Autoindex_localtime [On|off] Default value: Autoindex_localtime off Working with fields: HTTP, server, location Variables: None Whether the local time (GMT time) is displayed in the Catalog list file, and the default is off.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.