nginx调整large_client_header_buffers

 

https://nginx.org/en/docs/http/ngx_http_core_module.html#large_client_header_buffers

 

 

Syntax: large_client_header_buffers number size;
Default:
large_client_header_buffers 4 8k;
Context: http, server

Sets the maximum number and size of buffers used for reading large client request header. A request line cannot exceed the size of one buffer, or the 414 (Request-URI Too Large) error is returned to the client. A request header field cannot exceed the size of one buffer as well, or the 400 (Bad Request) error is returned to the client. Buffers are allocated only on demand. By default, the buffer size is equal to 8K bytes. If after the end of request processing a connection is transitioned into the keep-alive state, these buffers are released. 

posted on 2017-09-12 13:33  蚂蚁flow  阅读(10583)  评论(0编辑  收藏  举报

导航