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