#585 Immich: allow large uploads from mobile app
This commit is contained in:
parent
5287f42316
commit
5f6c830d0b
1 changed files with 5 additions and 1 deletions
|
|
@ -563,7 +563,6 @@ in
|
||||||
];
|
];
|
||||||
authEndpoint = lib.mkIf (cfg.sso.enable) cfg.sso.endpoint;
|
authEndpoint = lib.mkIf (cfg.sso.enable) cfg.sso.endpoint;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
client_max_body_size 50000M;
|
|
||||||
proxy_read_timeout 600s;
|
proxy_read_timeout 600s;
|
||||||
proxy_send_timeout 600s;
|
proxy_send_timeout 600s;
|
||||||
send_timeout 600s;
|
send_timeout 600s;
|
||||||
|
|
@ -572,6 +571,11 @@ in
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Allow large uploads from mobile app
|
||||||
|
services.nginx.virtualHosts."${fqdn}".extraConfig = ''
|
||||||
|
client_max_body_size 50G;
|
||||||
|
'';
|
||||||
|
|
||||||
# Ensure services start in correct order
|
# Ensure services start in correct order
|
||||||
systemd.services.immich-server = {
|
systemd.services.immich-server = {
|
||||||
after = [
|
after = [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue