We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c3c27e commit dc9bdcbCopy full SHA for dc9bdcb
nginx/default.conf
@@ -5,8 +5,11 @@ server {
5
# charset koi8-r;
6
# access_log /var/log/nginx/host.access.log main;
7
8
- # disable any limits to avoid HTTP 413 for large image uploads
+ # disable any limits to avoid HTTP 413 for large image uploads and 400 on large headers (eg: cookie)
9
client_max_body_size 0;
10
+ client_body_buffer_size 32k;
11
+ client_header_buffer_size 8k;
12
+ large_client_header_buffers 8 64k;
13
14
# required to avoid HTTP 411: see Issue #1486 (https://github.com/moby/moby/issues/1486)
15
chunked_transfer_encoding on;
0 commit comments