From f33b1b79fb2cecbdd90bbf495d9a6bd11dc5f2d9 Mon Sep 17 00:00:00 2001 From: niten Date: Wed, 22 May 2024 21:40:28 -0700 Subject: [PATCH] Try adding proxy_request_buffering clause --- immich-ml-container.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/immich-ml-container.nix b/immich-ml-container.nix index c7b2359..462c203 100644 --- a/immich-ml-container.nix +++ b/immich-ml-container.nix @@ -54,7 +54,10 @@ in { forceSSL = false; locations."/" = { proxyPass = "http://127.0.0.1:${toString cfg.port}"; - extraConfig = "client_max_body_size 500M;"; + extraConfig = '' + client_max_body_size 500M; + proxy_request_buffering off; + ''; recommendedProxySettings = true; }; });