### HttpAutoindex模塊
此模塊用于自動生成目錄列表.
ngx_http_autoindex_module只在 ngx_http_index_module模塊未找到索引文件時發出請求.
__配置實例__
~~~
location / {
: autoindex on;
}
~~~
### 指導
- [#autoindex autoindex]
- [#autoindex_exact_size autoindex_exact_size]
- [#autoindex_localtime autoindex_localtime]
### autoindex
**syntax:***autoindex [ on|off ]*
**default:***autoindex off*
**context:***http, server, location*
激活/關閉自動索引
### autoindex_exact_size
**syntax:***autoindex_exact_size [ on|off ]*
**default:***autoindex_exact_size on*
**context:***http, server, location*
設定索引時文件大小的單位(B,KB, MB 或 GB)
### autoindex_localtime
**syntax:***autoindex_localtime [ on|off ]*
**default:***autoindex_localtime off*
**context:***http, server, location*
開啟以本地時間來顯示文件時間的功能。默認為關(GMT時間)
### 參考
[Original Documentation](http://sysoev.ru/nginx/docs/http/ngx_http_autoindex_module.html "http://sysoev.ru/nginx/docs/http/ngx_http_autoindex_module.html")
- 主要文檔
- Nginx功能概述
- 為什么選擇Nginx
- Nginx安裝
- 運行和控制Nginx
- 配置符號參考
- 優化 Nginx
- 常見問題(FAQ)
- 調試 nginx
- 核心模塊
- Nginx主模塊
- Nginx事件模塊
- 基本模塊
- http核心模塊
- HttpIndex模塊
- HttpAccess模塊
- HttpAuthBasic模塊
- HttpAutoindex模塊
- Browser模塊
- Charset模塊
- HttpEmptyGif模塊
- HttpFcgi模塊
- Geo模塊
- HttpGzip模塊
- HttpHeaders模塊
- HttpIndex模塊
- HttpReferer模塊
- HttpLimit zone
- HttpLimitReqest模塊
- HttpLog模塊
- map
- Memcached
- HttpProxy模塊
- HttpRewrite模塊
- HttpSSI模塊
- HttpUserId
- 其他模塊
- Addition模塊
- EmbeddedPerl
- flv
- HttpGzipStatic
- RandomIndex
- HttpGeoIP
- HttpRealIp
- HttpSSL
- StubStatus模塊
- HttpSubstitution
- HttpDav模塊
- GooglePerftools
- HttpXSLT
- HttpSecureLink
- HttpImageFilter
- mail模塊
- MailCore
- MailAuth
- MailProxy
- MailSSL
- 安裝
- nginx在windows上的安裝
- nginx在freebsd上的安裝
- nginx在ubuntu上的安裝
- nginx在fedora上的安裝
- nginx php-fpm安裝配置
- 配置示例和方法
- 完整例子
- 完整例子2
- 虛擬主機
- 負載均衡
- nginx防盜鏈
- HWLoadbalancerCheckErrors