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