Преглед на файлове

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

Loading…
Отказ
Запис