From 59b1aa61c3dc6df618c637ca02b400e0c4e645fe Mon Sep 17 00:00:00 2001 From: Yorick van Pelt Date: Tue, 11 Jun 2024 15:28:00 +0200 Subject: [PATCH] Set calibre-web body limit to 64M --- nixos/services/calibre-web.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/services/calibre-web.nix b/nixos/services/calibre-web.nix index e770501..173a57c 100644 --- a/nixos/services/calibre-web.nix +++ b/nixos/services/calibre-web.nix @@ -22,6 +22,9 @@ in { locations."/" = { proxyPass = "http://[::1]:8083"; proxyWebsockets = true; + extraConfig = '' + client_max_body_size 64M; + ''; }; locations."/kobo/" = { proxyPass = "http://[::1]:8083/kobo/";