Version 1.18.0
Main changes
Added several options to control if directory index is available:
--index <url-path> ...
--index-user <separator><url-path>[<separator><allowed-username>...] ...
Set url paths(and sub paths) that allows to index files of a directory.
--index defaults to "/".
Set to "" to disable index.
--index-dir <fs-path> ...
--index-dir-user <separator><fs-path>[<separator><allowed-username>...] ...
Similar to --index, but use file system path instead of url path.
主要变更
添加了数个选项来控制目录列表的可见性:
--index <URL路径> ...
--index-user <分隔符><URL路径>[<分隔符><允许的用户名>...] ...
设置允许索引目录的URL路径(及子路径)。
--index默认值为"/"。
设为""来禁用索引。
--index-dir <文件系统路径> ...
--index-dir-user <分隔符><文件系统路径>[<分隔符><允许的用户名>...] ...
与--index类似,但指定的是文件系统路径,而不是URL路径。