Explorar el Código

prevent crawlers filling hard disk with gitea repo archives.

Thomas Buck hace 1 año
padre
commit
42a9a42eae
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      roles/gitea/files/data_gitea_custom_robots.txt

+ 2
- 1
roles/gitea/files/data_gitea_custom_robots.txt Ver fichero

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

Loading…
Cancelar
Guardar