NGINX Fancy Index module

15 — 所有核心与模块指令——语法、默认值、上下文与真实配置示例。

fancyindex `fancyindex` 指令在 NGINX 中启用增强的目录列表显示,支持自定义外观。 httpserverlocation fancyindex_case_sensitive `fancyindex_case_sensitive` 指令决定在对文件名排序时目录列表是否区分大小写。 httpserverlocation fancyindex_css_href `fancyindex_css_href` 指令为 NGINX Fancy Index 模块生成的目录列表指定自定义 CSS 文件,用于样式化显示。 httpserverlocation fancyindex_default_sort `fancyindex_default_sort` 指令设置由 NGINX Fancy Index 模块生成的文件列表的默认排序方式。 httpserverlocation fancyindex_directories_first 指令 `fancyindex_directories_first` 指定在目录列表中目录条目是否应出现在文件条目之前。 httpserverlocation fancyindex_exact_size 启用在 NGINX Fancy Index 模块的目录列表中显示精确的文件大小。 httpserverlocation fancyindex_footer 指令 `fancyindex_footer` 为 NGINX Fancy Index 模块生成的目录列表设置自定义页脚。 httpserverlocation fancyindex_header `fancyindex_header` 指令允许自定义由 NGINX Fancy Index 模块生成的目录列表的头部。 httpserverlocation fancyindex_hide_parent_dir `fancyindex_hide_parent_dir` 指令控制 Fancy Index 模块生成的目录列表中父目录链接的可见性。 httpserverlocation fancyindex_hide_symlinks `fancyindex_hide_symlinks` 指令控制由 NGINX Fancy Index module 生成的目录列表中符号链接的可见性。 httpserverlocation fancyindex_ignore `fancyindex_ignore` 指令指定应从 Fancy Index 列表中排除的文件或目录。 httpserverlocation fancyindex_localtime 指令 `fancyindex_localtime` 配置 NGINX 的 Fancy Index 模块,以在本地时区显示文件修改时间。 httpserverlocation fancyindex_show_dotfiles `fancyindex_show_dotfiles` 指令控制 NGINX 中 Fancy Index 模块生成的目录列表中点文件的可见性。 httpserverlocation fancyindex_show_path 指令 `fancyindex_show_path` 控制是否在列表中显示被索引目录的路径。 httpserverlocation fancyindex_time_format `fancyindex_time_format` 指令指定了在目录列表中显示文件最后修改时间的格式。 httpserverlocation