---

nginx: How To Block Visitors By Country With The GeoIP Module (Debian/Ubuntu)

This tutorial explains how to use the GeoIP module with nginx to block visitors by country. This is made possible by the GeoIP database which maps users’ IP addresses to countries. nginx must be compiled with the HttpGeoipModule to use the GeoIP database.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis