From 44f98a69d18b7449ee601615323d79e47d5ca256 Mon Sep 17 00:00:00 2001 From: fruchti Date: Fri, 7 Mar 2025 08:37:33 +0100 Subject: [PATCH] Forgejo: Set nginx request size for git-lfs --- hosts/forgejo.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/forgejo.nix b/hosts/forgejo.nix index ce2ff36..6b2145d 100644 --- a/hosts/forgejo.nix +++ b/hosts/forgejo.nix @@ -123,6 +123,10 @@ in enableACME = true; forceSSL = true; locations."/".proxyPass = "http://localhost:3001/"; + extraConfig = '' + # Maximum upload file size for git-lfs + client_max_body_size 100M; + ''; }; };