On Wed, Nov 25, 2009 at 1:02 PM, himesh <nginx-forum at nginx.us> wrote:
> I get the error when starting up Nginx with the condition
>
> if ($request_uri ~ .{70,}) {
> return 403;
>
You need quotes here. The following has been tested on my side:
if ($request_uri ~ '.{70,}') {
return 403;
}
Cheers,
-agentzh