GeoIP Country Filtering

AJ Weber aweber at
Thu Nov 29 20:51:13 UTC 2012

Does anyone have any "best practices" on filtering using the GeoIP 

I'd like to filter my entire site based upon "allowed countries" (it's a 
very specialized site), and am wondering the best place to check 
country-code so that it's efficient (performance wise), and applies to 
the entire http or server block.

Any tips and tricks are very much appreciated!


More information about the nginx mailing list