Welcome! Log In Create A New Profile

Advanced

Re: Set URL request length in Nginx reverse proxy

Igor Sysoev
November 24, 2009 03:24AM
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
Subject Author Posted

Set URL request length in Nginx reverse proxy

himesh November 24, 2009 12:24AM

Re: Set URL request length in Nginx reverse proxy

himesh November 24, 2009 01:21AM

Re: Set URL request length in Nginx reverse proxy

Igor Sysoev November 24, 2009 03:24AM

Re: Set URL request length in Nginx reverse proxy

himesh November 24, 2009 06:05AM

Re: Set URL request length in Nginx reverse proxy

Igor Sysoev November 24, 2009 06:38AM

Re: Set URL request length in Nginx reverse proxy

himesh November 24, 2009 07:17AM

Re: Set URL request length in Nginx reverse proxy

Nick Pearson November 24, 2009 10:06AM

Re: Set URL request length in Nginx reverse proxy

himesh November 25, 2009 12:02AM

Re: Set URL request length in Nginx reverse proxy

agentzh November 25, 2009 12:32AM

Re: Set URL request length in Nginx reverse proxy

himesh November 25, 2009 01:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 174
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready