From a9dab109759f07c9eecf60350dc35a9fd7e8aec0 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 22 Sep 2024 19:02:39 +0200 Subject: [PATCH] fuuko/paperless: Allow larger file uploads --- machines/fuuko/services/paperless.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/machines/fuuko/services/paperless.nix b/machines/fuuko/services/paperless.nix index 794b568..4b81ffe 100644 --- a/machines/fuuko/services/paperless.nix +++ b/machines/fuuko/services/paperless.nix @@ -45,6 +45,9 @@ "/" = { proxyPass = with config.services.paperless; "http://${address}:${toString port}"; proxyWebsockets = true; + extraConfig = '' + client_max_body_size 500M; + ''; }; "/static".root = "${config.services.paperless.package}/lib/paperless-ngx"; };