summary refs log tree commit diff
path: root/services/immich.nix
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2024-12-12 17:25:28 +0100
committerMel <einebeere@gmail.com>2024-12-15 22:55:07 +0100
commitff501440c298175a9afad1d44dccbe3896186a69 (patch)
treeb4b77a258798a422d1e59ff7606c9127a8e4184b /services/immich.nix
parent15642cdb01b8153d9f996f99b3fe439221ac1cc4 (diff)
downloadnetwork-ff501440c298175a9afad1d44dccbe3896186a69.tar.zst
network-ff501440c298175a9afad1d44dccbe3896186a69.zip
Expand Nginx config for Immich to allow large images
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'services/immich.nix')
-rw-r--r--services/immich.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/services/immich.nix b/services/immich.nix
index d691a9b..1217593 100644
--- a/services/immich.nix
+++ b/services/immich.nix
@@ -101,6 +101,16 @@ in
         proxyPass = "http://${me.tailscale.ip}:${toString immichLocalPort}";
         proxyWebsockets = true;
       };
+      extraConfig = ''
+        client_max_body_size 10G;
+
+        proxy_buffering off;
+        proxy_request_buffering off;
+
+        proxy_read_timeout 600s;
+        proxy_send_timeout 600s;
+        send_timeout       600s;
+      '';
     };
   };
 }