From 0084a02568db131bd896ca4ff7e51ecbb037158b Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Sat, 6 Jan 2024 16:07:48 +0100 Subject: [PATCH] git: set loglevel to WARN - gitea is crawled by some bots and logs every request --- modules/gitea.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/gitea.nix b/modules/gitea.nix index 99b0eb9..01e104e 100644 --- a/modules/gitea.nix +++ b/modules/gitea.nix @@ -45,6 +45,7 @@ in ROOT_URL = "https://${domain}"; OFFLINE_MODE = true; # disable use of CDNs }; + log.LEVEL = "Warn"; database.LOG_SQL = false; service = { DISABLE_REGISTRATION = true;