filter out tcp connections without sending data
Dave Cheney
dave at cheney.net
Mon Dec 1 17:51:28 MSK 2008
You may have a local process that is polling nginx to see if port 80
is open then droping the connection.
One solution is to setup a default host seperate from your main vhosts
and then disable access logging for that host.
Cheers dave
On 01/12/2008, at 11:15 PM, Marlon de Boer <marlon at hyves.nl> wrote:
> Hi,
>
> I want to filter out the following requests
>
> nginx: 127.0.0.1 - - [01/Dec/2008:13:10:15 +0100] "-" 400 0
>
> I want to filter it out with a location match
>
> location = - {
> access_log off;
> return 444;
> }
>
> This doesn't work, any other method to match a "-" request?
>
> Regards
> Marlon
>
More information about the nginx
mailing list