From 78d85018b09514407ef23ae52264819088287c55 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 30 Jan 2021 17:10:25 -0500 Subject: [PATCH] Fix redundant nginx directive And typo. Should be 128k, not 1k! --- modules/services/nginx.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/nginx.nix b/modules/services/nginx.nix index 82b3d63a..d587de26 100644 --- a/modules/services/nginx.nix +++ b/modules/services/nginx.nix @@ -25,9 +25,9 @@ in { # Reduce the permitted size of client requests, to reduce the likelihood # of buffer overflow attacks. This can be tweaked on a per-vhost basis, as # needed. + clientMaxBodySize = "128k"; # default 10m commonHttpConfig = '' client_body_buffer_size 4k; # default: 8k - client_max_body_size 1k; # default: 1m large_client_header_buffers 2 4k; # default: 4 8k ''; };