Welcome! Log In Create A New Profile

Advanced

Nginx returning 414 even when large_client_header_buffers is set

April 09, 2012 09:28PM
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:

"--with-http_ssl_module",
"--with-http_gzip_static_module",
"--add-module=../git/nginx-x-rid-header",
"--with-ld-opt=-luuid",
"--with-http_stub_status_module"

Anybody has any insights on the 414 problem?
Subject Author Posted

Nginx returning 414 even when large_client_header_buffers is set

spacerobot April 09, 2012 09:28PM

Re: Nginx returning 414 even when large_client_header_buffers is set

spacerobot April 10, 2012 04:03PM

Re: Nginx returning 414 even when large_client_header_buffers is set

Maxim Dounin April 10, 2012 04:12PM

Re: Nginx returning 414 even when large_client_header_buffers is set

spacerobot April 10, 2012 04:26PM

Re: Nginx returning 414 even when large_client_header_buffers is set

spacerobot April 10, 2012 07:45PM

Re: Nginx returning 414 even when large_client_header_buffers is set

Maxim Dounin April 11, 2012 03:22AM

Re: Nginx returning 414 even when large_client_header_buffers is set

spacerobot April 11, 2012 07:09PM

Re: Nginx returning 414 even when large_client_header_buffers is set

ct323i February 11, 2014 12:22PM

Re: Nginx returning 414 even when large_client_header_buffers is set

Spencer Fu November 11, 2015 12:38PM

Re: Nginx returning 414 even when large_client_header_buffers is set

B.R. November 11, 2015 05:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 76
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready