From ed7fdd6e184ca8e66a26879b695098e9643bf904 Mon Sep 17 00:00:00 2001 From: niten Date: Thu, 23 May 2024 11:48:03 -0700 Subject: [PATCH] Set global maxClientBodySize --- immich-ml-container.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/immich-ml-container.nix b/immich-ml-container.nix index 2503295..cde18b0 100644 --- a/immich-ml-container.nix +++ b/immich-ml-container.nix @@ -46,12 +46,10 @@ in { services.nginx = { enable = true; + clientMaxBodySize = "1024M"; virtualHosts = genAttrs cfg.hostnames (hostname: { enableACME = false; forceSSL = false; - extraConfig = '' - client_max_body_size 500M; - ''; locations."/" = { proxyPass = "http://127.0.0.1:${toString cfg.port}"; extraConfig = ''