FAQ

Page Discussion Edit History

RuHttpAutoindexModule

(Redirected from NginxRuHttpAutoindexModule)

Contents

[edit] ngx_http_autoindex_module

袦芯写褍谢褜 ngx_http_autoindex_module 胁褘写邪褢褌 谢懈褋褌懈薪谐 泻邪褌邪谢芯谐邪. 袨斜褘褔薪芯 蟹邪锌褉芯褋 锌芯锌邪写邪械褌 泻 屑芯写褍谢褞 ngx_http_autoindex_module, 泻芯谐写邪 屑芯写褍谢褜 ngx_http_index_module 薪械 薪邪褕褢谢 懈薪写械泻褋薪褘泄 褎邪泄谢. 小芯写械褉卸邪薪懈械 袩褉懈屑械褉 泻芯薪褎懈谐褍褉邪褑懈懈

[edit] 袛懈褉械泻褌懈胁褘

  • [#autoindex autoindex]
  • [#autoindex_exact_size autoindex_exact_size]
  • [#autoindex_localtime autoindex_localtime]

袩褉懈屑械褉 泻芯薪褎懈谐褍褉邪褑懈懈

: location  /  {
: autoindex  on;
: }

Template:Anchor

[edit] autoindex

syntax: autoindex [on|off]

default: autoindex off

context: http, server, location

袛懈褉械泻褌懈胁邪 褉邪蟹褉械褕邪械褌 懈谢懈 蟹邪锌褉械褖邪械褌 胁褘胁芯写 谢懈褋褌懈薪谐邪 泻邪褌邪谢芯谐邪.


Template:Anchor

[edit] autoindex_exact_size

syntax: autoindex_exact_size [on|off]

default: autoindex_exact_size on

context: http, server, location

袛懈褉械泻褌懈胁邪 芯锌褉械写械谢褟械褌, 泻邪泻 胁褘胁芯写懈褌褜 褉邪蟹屑械褉褘 褎邪泄谢芯胁 胁 谢懈褋褌懈薪谐械 泻邪褌邪谢芯谐邪 鈥 褌芯褔薪芯, 懈谢懈 芯泻褉褍谐谢褟褟 写芯 泻懈谢芯斜邪泄褌, 屑械谐邪斜邪泄褌 懈 谐懈谐芯斜邪泄褌.


[[AutoIndex(autoindex_localtime) ]== autoindex_localtime == syntax: autoindex_localtime [on|off]

default: autoindex_localtime off

context: http, server, location

袛懈褉械泻褌懈胁邪 芯锌褉械写械谢褟械褌, 胁 泻邪泻芯泄 胁褉械屑械薪薪芯泄 蟹芯薪械 胁褘胁芯写懈褌褜 胁褉械屑褟 胁 谢懈褋褌懈薪谐械 泻邪褌邪谢芯谐邪 鈥 胁 谢芯泻邪谢褜薪芯泄 懈谢懈 胁 GMT.