1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-28 10:37:44 +00:00

fix: increase max body size in nginx s3

This commit is contained in:
RGBCube 2025-02-27 20:08:24 +03:00
parent 2efa94d35e
commit dc64d8ca60
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -46,6 +46,10 @@ in {
};
services.nginx.virtualHosts.${fqdnS3} = merge config.services.nginx.sslTemplate {
extraConfig = /* nginx */ ''
client_max_body_size 5g;
'';
locations."/".proxyPass = "http://[::1]:${toString portS3}";
};
}