Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加Nginx fancyindex采集器 #139

Closed
voidint opened this issue Jun 25, 2024 · 0 comments
Closed

增加Nginx fancyindex采集器 #139

voidint opened this issue Jun 25, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@voidint
Copy link
Owner

voidint commented Jun 25, 2024

  • Fancyindex 是 Nginx 的一个第三方模块,用来开启目录浏览功能,是 autoindex 模块的美化版。

    • 美化前(使用 autoindex)
    image
    • 美化后(使用 fancyindex)
    image
  • 使用 Fancyindex 的镜像站点也不少,已知的包括:阿里云南京大学华中科技大学。现将原有的aliyun采集器改造为fancyindex采集器,用于统一处理针对这个类型的镜像站点的 go 版本信息采集。

  • G_MIRROR环境变量支持新扩展写法

    • 完整写法:export G_MIRROR='采集器名|镜像站点URL',如export G_MIRROR='fancyindex|https://mirrors.nju.edu.cn/golang/'
    • 简写语法:export G_MIRROR=镜像站点URL,如export G_MIRROR='https://mirrors.nju.edu.cn/golang/'。注意:简写写法仅针对已知并完成适配的镜像站点,而完整写法则可以针对已知或匹配采集器的未知镜像站点。
  • autoindex 采集器见 增加Nginx autoindex采集器 #137

@voidint voidint added the enhancement New feature or request label Jun 25, 2024
@voidint voidint self-assigned this Jun 25, 2024
voidint added a commit that referenced this issue Jun 25, 2024
@voidint voidint closed this as completed Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant