From 28223850747c4298935372f6691456be96706fe0 Mon Sep 17 00:00:00 2001 From: "xyno (Philipp Hochkamp)" Date: Fri, 1 Sep 2023 15:15:55 +0200 Subject: [PATCH] nginx more body size --- nixos-modules/services/nginx.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos-modules/services/nginx.nix b/nixos-modules/services/nginx.nix index 0cf37784..894b4fe2 100644 --- a/nixos-modules/services/nginx.nix +++ b/nixos-modules/services/nginx.nix @@ -13,6 +13,7 @@ in networking.firewall.allowedTCPPorts = [ 80 443 ]; services.nginx = { enable = true; + clientMaxBodySize = "500m"; recommendedProxySettings = true; recommendedTlsSettings = true; recommendedGzipSettings = true;