From 0de6be12f489a2c14e64bcf63583c47ce56347f3 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Fri, 21 Jan 2022 18:17:31 +0100 Subject: [PATCH] fuuko/gitea: Allow larger HTTP uploads This is required to include larger files in Git LFS, which uses HTTP for uploading the files. --- machines/fuuko/services/gitea.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/machines/fuuko/services/gitea.nix b/machines/fuuko/services/gitea.nix index b4a8d92..be8bb6b 100644 --- a/machines/fuuko/services/gitea.nix +++ b/machines/fuuko/services/gitea.nix @@ -67,5 +67,9 @@ in locations."/" = { proxyPass = "http://unix:/run/gitea/gitea.sock"; }; + + extraConfig = '' + client_max_body_size 1G; # Git LFS + ''; }; }