Welcome! Log In Create A New Profile

Advanced

Re: How can i block these requests

Edho Arief
October 30, 2012 01:22AM
On Tue, Oct 30, 2012 at 12:13 PM, Ranjib Dey <dey.ranjib@gmail.com> wrote:
>
> Thanks for the pointer Edho,
> right now we are getting these log entries at a rate of 5000 per hour per
> server, and we have multiple nginx installations, and this is almost
> flooding our centralized logging system. Is there a way to disable logging
> such requests, or lower the number of occurrences (like tweaking the keep
> alive timeout value or number of requests)?
>
> thanks in advance
> ranjib
>

Maybe something like this will work (untested)

error_page 400 /400.html;
location = /400.html {
access_log off;
}

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How can i block these requests

nilesh October 29, 2012 09:09AM

Re: How can i block these requests

Edho Arief October 29, 2012 09:14AM

Re: How can i block these requests

Ranjib Dey October 30, 2012 01:16AM

Re: How can i block these requests

Edho Arief October 30, 2012 01:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 163
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready