Nginx Countries

Description


Locally usable geolocation config files for Nginx.

Source


From the always awesome IPdeny service. https://www.ipdeny.com/ipblocks/

Why should I use this data?


It allows a server to be configurerd with local configurations to allow or deny blocking based on geographies. These files can be downloaed regularly and applied into new or existing configs with minimal system overhead.

Updates


Daily at around 0300UTC. The source data may or may not be updated as regularly.


https://firewalliplists.gypthecat.com/lists/nginx/nginx-countries.conf.zip

Nginx Config Examples


Coming soon.

Interim Solutions


https://www.gypthecat.com/securing-wordpress-from-brute-force-attacks-by-country-blocking-on-nginx

https://www.gypthecat.com/blocking-countries-on-nginx-without-the-geoip-module

https://github.com/david2331/Nginx-block-country-without-additional-module