cluster/services/attic: increase max upload size to 4GB

This commit is contained in:
Max Headroom 2023-06-16 17:27:40 +02:00
parent 2aeb766afb
commit d751a0f16f

View file

@ -52,5 +52,9 @@ in
ReadWritePaths = [ dataDir ];
};
services.nginx.virtualHosts."cache-api.${tools.meta.domain}" = tools.nginx.vhosts.proxy config.links.atticServer.url;
services.nginx.virtualHosts."cache-api.${tools.meta.domain}" = tools.nginx.vhosts.proxy config.links.atticServer.url // {
extraConfig = ''
client_max_body_size 4G;
'';
};
}