当前位置: 代码迷 >> Web前端 >> nginx的autoindex运用
  详细解决方案

nginx的autoindex运用

热度:187   发布时间:2012-09-01 09:33:03.0
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