increase max client upload size
This commit is contained in:
parent
4508af4787
commit
1dae364c34
|
@ -114,6 +114,8 @@ in {
|
|||
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
|
||||
services.nginx.clientMaxBodySize = "${toString (8192*4)}m";
|
||||
|
||||
services.nginx.virtualHosts."storage-webdav.owo.monster" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ ... }: {
|
||||
{ lib, ... }: {
|
||||
security.acme = {
|
||||
defaults = { email = "chaoticryptidz@owo.monster"; };
|
||||
acceptTerms = true;
|
||||
|
@ -10,7 +10,7 @@
|
|||
recommendedProxySettings = true;
|
||||
recommendedTlsSettings = true;
|
||||
commonHttpConfig = "";
|
||||
clientMaxBodySize = "512m";
|
||||
clientMaxBodySize = lib.mkDefault "512m";
|
||||
serverNamesHashBucketSize = 1024;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue