Skip to content

Commit 7724632

Browse files
authored
Bump client_body_buffer_size/client_header_buffer size to 16k default
Drop the overzealous 1k buffer size limit on body and header buffers. 16k default is safe: we have memory these days.
1 parent 3b127f4 commit 7724632

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/etc/nginx/nginx.conf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ http {
3333
# Disable etag
3434
etag off;
3535

36-
# Lower buffer size to possibly prevent DoS attacks and buffer overflow vulnerabilities.
37-
client_body_buffer_size 1k;
38-
client_header_buffer_size 1k;
39-
4036
# Nuke some headers we don't want leaking out
4137
more_clear_headers "X-Powered-By";
4238
more_clear_headers "X-Rack-Cache";

0 commit comments

Comments
 (0)