Parcourir la source

prevent crawlers filling hard disk with gitea repo archives.

Thomas Buck il y a 1 an
Parent
révision
42a9a42eae
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2
    1
      roles/gitea/files/data_gitea_custom_robots.txt

+ 2
- 1
roles/gitea/files/data_gitea_custom_robots.txt Voir le fichier

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

Chargement…
Annuler
Enregistrer