On Tue, Nov 24, 2009 at 12:24:49AM -0500, himesh wrote:
> Hi All,
>
> Is it possible to set the limit to the number of characters that can be present in the requested Url. which variable can i use to access the requested url .
You may limit buffer size for client request:
client_header_buffer_size 1k;
large_client_header_buffers 4 4k;
These are default values. If you want to limit URL to 2K, set:
client_header_buffer_size 1k;
large_client_header_buffers 4 2k;
Note, that this also limits length of any header line to 2K.
--
Igor Sysoev
http://sysoev.ru/en/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx