Hacker News new | ask | show | jobs
by cpburns2009 2960 days ago
While this sounds like an overreaction, I question the breadth of this method (unrelated to the reliability of IP address origin).

> This tells nginx to assign the $allow_visit variable a 0 for any users the GeoIP database specifies as coming from the “EU” continent.

Europe is the continent. The EU does not encompass all European countries. Doesn't this needlessly block non-EU European countries?

1 comments

Good point, it likely does. Alternatively, you could set up the rules using country and list out the 28 that make up the EU.