filter out tcp connections without sending data

Marlon de Boer marlon at hyves.nl
Mon Dec 1 15:15:28 MSK 2008


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