From da971fa18d0cba47a1a313fca690629e07703718 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 23 Aug 2024 00:07:28 +0200 Subject: [PATCH] fixup! nixos: services: add pdf-edit --- modules/nixos/services/pdf-edit/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/nixos/services/pdf-edit/default.nix b/modules/nixos/services/pdf-edit/default.nix index e5ea5b3..480b278 100644 --- a/modules/nixos/services/pdf-edit/default.nix +++ b/modules/nixos/services/pdf-edit/default.nix @@ -43,6 +43,13 @@ in my.services.nginx.virtualHosts = { pdf-edit = { inherit (cfg) port; + + extraConfig = { + # Allow upload of PDF files up to 1G + locations."/".extraConfig = '' + client_max_body_size 1G; + ''; + }; }; };