ソースを参照

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/*

読み込み中…
キャンセル
保存