#585 Immich: allow large uploads from mobile app
This commit is contained in:
parent
5287f42316
commit
6e2cf2d035
1 changed files with 5 additions and 1 deletions
|
|
@ -563,7 +563,6 @@ in
|
|||
];
|
||||
authEndpoint = lib.mkIf (cfg.sso.enable) cfg.sso.endpoint;
|
||||
extraConfig = ''
|
||||
client_max_body_size 50000M;
|
||||
proxy_read_timeout 600s;
|
||||
proxy_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
|
||||
systemd.services.immich-server = {
|
||||
after = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue