浏览代码

prevent crawlers filling hard disk with gitea repo archives.

Thomas Buck 1年前
父节点
当前提交
42a9a42eae
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      roles/gitea/files/data_gitea_custom_robots.txt

+ 2
- 1
roles/gitea/files/data_gitea_custom_robots.txt 查看文件

@@ -1,2 +1,3 @@
1
+# prevent mass generation of repo archives
1 2
 User-agent: *
2
-Disallow:
3
+Disallow: /*/archive/*

正在加载...
取消
保存