diff options
| author | Mel <einebeere@gmail.com> | 2024-12-12 17:25:28 +0100 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2024-12-15 22:55:07 +0100 |
| commit | ff501440c298175a9afad1d44dccbe3896186a69 (patch) | |
| tree | b4b77a258798a422d1e59ff7606c9127a8e4184b | |
| parent | 15642cdb01b8153d9f996f99b3fe439221ac1cc4 (diff) | |
| download | network-ff501440c298175a9afad1d44dccbe3896186a69.tar.zst network-ff501440c298175a9afad1d44dccbe3896186a69.zip | |
Expand Nginx config for Immich to allow large images
Signed-off-by: Mel <einebeere@gmail.com>
| -rw-r--r-- | services/immich.nix | 10 |
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; + ''; }; }; } |
