Set URL request length in Nginx reverse proxy

Nick Pearson nick.pearson at
Tue Nov 24 17:56:54 MSK 2009

Be sure you're using $request_uri and not $http_referer.  The
$http_referer variable holds the URL of the page the user was on when
clicking a link to your site, and it may be empty (for instance, if
the URL is typed by hand).  It can be helpful with tracking site usage
but should not be relied upon.  Regardless, it's the wrong variable
for what you're trying to do.

On Tue, Nov 24, 2009 at 6:17 AM, himesh <nginx-forum at> wrote:
> Nope that does not work ....
> Posted at Nginx Forum:,25207,25278#msg-25278
> _______________________________________________
> nginx mailing list
> nginx at

More information about the nginx mailing list