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:
parent
2efa94d35e
commit
dc64d8ca60
1 changed files with 4 additions and 0 deletions
|
@ -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}";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue