From 3028ba8cca1f6d1e7ea6774867d56c0204407368 Mon Sep 17 00:00:00 2001 From: hannes Date: Fri, 16 Feb 2024 19:06:00 +0100 Subject: [PATCH] file size limits increased --- configuration.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configuration.nix b/configuration.nix index df53f65..ecfdf3c 100644 --- a/configuration.nix +++ b/configuration.nix @@ -86,6 +86,15 @@ settings.actions = { ENABLED = true; }; + settings."repository.upload" = { + FILE_MAX_SIZE = 4095; + MAX_FILES = 20; + }; + settings."attachment" = { + MAX_SIZE = 4095; + MAX_FILES = 20; + }; + settings.service.DISABLE_REGISTRATION = true; database = { user = "forgejo";