nginx的autoindex使用

autoindex

syntax: autoindex [ on | off ]
default: autoindex off
context: http, server, location
variables: no
phase: content

Enables or disables the automatic directory listing.

autoindex_exact_size
syntax: autoindex_exact_size [ on | off ]
default: autoindex_exact_size on
context: http, server, location
variables: no

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

autoindex_localtime
syntax: autoindex_localtime [ on | off ]
default: autoindex_localtime off
context: http, server, location
variables: no

你可能感兴趣的:(nginx,autoindex,syntax)