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 = ''