From f65256d22981e046a1881e48272458b564c7532f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Wed, 9 Apr 2025 17:25:41 +0400 Subject: [PATCH] Disable downloads of repo archives --- site-cookbooks/kosmos_gitea/templates/default/app.ini.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/site-cookbooks/kosmos_gitea/templates/default/app.ini.erb b/site-cookbooks/kosmos_gitea/templates/default/app.ini.erb index 5eacffc..0a846fa 100644 --- a/site-cookbooks/kosmos_gitea/templates/default/app.ini.erb +++ b/site-cookbooks/kosmos_gitea/templates/default/app.ini.erb @@ -28,6 +28,7 @@ MAX_OPEN_CONNS = 20 [repository] ROOT = <%= @repository_root_directory %> +DISABLE_DOWNLOAD_SOURCE_ARCHIVES = true # [indexer] # ISSUE_INDEXER_PATH = /data/gitea/indexers/issues.bleve