Fix redundant nginx directive

And typo. Should be 128k, not 1k!
This commit is contained in:
Henrik Lissner 2021-01-30 17:10:25 -05:00
parent fe4a34a9e3
commit 78d85018b0

View file

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