allow large uploads for immich

This commit is contained in:
Joakim Repomaa
2025-03-01 13:16:27 +02:00
parent f3c2316b92
commit af9f07a2fe

View File

@@ -31,7 +31,18 @@ in
};
webserver = {
enable = lib.mkDefault true;
vHosts.${fqdn}.locations."/".proxyPort = cfg.port;
vHosts.${fqdn} = {
proxyBuffering = false;
locations."/" = {
proxyPort = cfg.port;
extraConfig = ''
client_max_body_size 0;
proxy_send_timeout 300;
proxy_read_timeout 300;
send_timeout 300;
'';
};
};
};
};