Nginx Module Reference manual: HTTP Directory Inventory Generation module (HTTP Auto Index)

Source: Internet
Author: User
Keywords Auto http nginx index http Catalog Inventory Generation module
Tags automatic catalog compiled configure default default value directory directory listing

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.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.