increase max client upload size

This commit is contained in:
Chaos 2022-11-20 11:04:42 +00:00
parent 4508af4787
commit 1dae364c34
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View file

@ -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;

View file

@ -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;
};
}