W3Cschool
恭喜您成為首批注冊(cè)用戶
獲得88經(jīng)驗(yàn)值獎(jiǎng)勵(lì)
此模塊用于自動(dòng)生成目錄列表.
ngx_http_autoindex_module只在 ngx_http_index_module模塊未找到索引文件時(shí)發(fā)出請(qǐng)求.
__配置實(shí)例__
location / { : autoindex on; }
[#autoindex autoindex]
[#autoindex_exact_size autoindex_exact_size]
[#autoindex_localtime autoindex_localtime]
syntax: autoindex [ on|off ]
default: autoindex off
context: http, server, location
激活/關(guān)閉自動(dòng)索引
syntax: autoindex_exact_size [ on|off ]
default: autoindex_exact_size on
context: http, server, location
設(shè)定索引時(shí)文件大小的單位(B,KB, MB 或 GB) Template:Anchor
syntax: autoindex_localtime [ on|off ]
default: autoindex_localtime off
context: http, server, location
開啟以本地時(shí)間來顯示文件時(shí)間的功能。默認(rèn)為關(guān)(GMT時(shí)間)
Copyright©2021 w3cschool編程獅|閩ICP備15016281號(hào)-3|閩公網(wǎng)安備35020302033924號(hào)
違法和不良信息舉報(bào)電話:173-0602-2364|舉報(bào)郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號(hào)
聯(lián)系方式:
更多建議: