Nginx returning 414 even when large_client_header_buffers is set

spacerobot nginx-forum at
Tue Apr 10 01:28:23 UTC 2012

My nginx server needs a request whose URI is about 4k long, it currently
returns 414 with message Request-URI Too Long.

I looked online and added:

large_client_header_buffers 4 16k;

to the http block in nginx.conf, restarted nginx, still returns 414. 

I also tried to add client_header_buffer_size and set to 16k and well
but didn't help.

I have nginx 1.0.12 and built with the following options:


Anybody has any insights on the 414 problem?

Posted at Nginx Forum:,225093,225093#msg-225093

More information about the nginx mailing list