[ngx_http_autoindex_module][1]用于在訪問目錄下找不到index索引文件時,是否自動索引目錄下的內容。
>[success]autoindex
默認值:off
自動索引默認為關閉,打開較為不安全
>[success]autoindex_exact_size
默認值:on
文件的精確大小
>[success]autoindex_localtime
默認值:off
是否將時間顯示為本地時間
## 網頁前后增加內容
[ngx_http_addition_module][2]
~~~
location / {
add_before_body /before_action;
add_after_body /after_action;
}
~~~
[1]:http://nginx.org/en/docs/http/ngx_http_autoindex_module.html
[2]:http://nginx.org/en/docs/http/ngx_http_addition_module.html#add_after_body
- nginx的功能
- nginx常用變量
- Nginx內核模塊
- Nginx的事件模塊
- Nginx的HTTP模塊
- Nginx的fastcgi
- nginx的proxy
- Upstream實現后臺服務器集群
- 文件操作優化相關的配置
- Nginx模塊管理和進程管理
- 模塊管理
- 進程管理
- 針對Nginx的Linux系統優化
- Nginx如何處理一個請求
- nginx狀態信息
- Nginx工具
- Nginx限制流量
- Nginx限制用戶的并發連接數
- 配置FLV服務器
- Nginx訪問控制
- Nginx自動索引
- Nginx網頁壓縮傳輸
- 控制Nginx如何記錄日志
- Nginx改寫響應
- Nginx重寫
- 后臺Nginx記錄原始原始IP
- Nginx防盜鏈
- Nginx的https