large_client_header_buffers does not work in in server context

Valentin V. Bartenev vbart at nginx.com
Fri Aug 21 15:24:46 UTC 2015


On Thursday 20 August 2015 15:10:16 Jason Thomas wrote:
> Hello,
> 
> large_client_header_buffers does not seem to work in server context,
> however it works fine in http context. Documentation says it should work
> for both [1] and looking at the application code it seems like it should
> too [2].
> 
> I am running multiple server definitions and I've tried nginx versions
> 1.6.2 and 1.8.0.
> 
> Any help is greatly appreciated!
> 
[..]

It works for the server context, but for obvious reason it uses the default
server context till the host header is received and parsed.

  wbr, Valentin V. Bartenev



More information about the nginx mailing list