Tagged articles
geoip2
13 articles · Page 1 of 1
This article walks through installing the libmaxminddb library, downloading and compiling the ngx_http_geoip2 module, upgrading Nginx to version 1.18, adding the latest GeoLite2 database, configuring Nginx to reject non‑Chinese IPs, and verifying the setup with test requests.
IP blockingSecurityServer configuration
0 likes · 8 min read

This step‑by‑step guide shows how to install the GeoIP2 library, compile NGINX 1.18 with the ngx_http_geoip2 module, download the latest MaxMind GeoLite2 database, configure geoip2 directives, and verify that foreign IP requests are blocked with a 404 response.
block foreign IPgeoip2nginx
0 likes · 7 min read

This guide explains step‑by‑step how to install the GeoIP2 library, compile Nginx with the ngx_http_geoip2 module, download the MaxMind GeoLite2 database, configure Nginx to map country codes, and block non‑Chinese visitors by returning a 404 response.
ConfigurationIP blockingLinux
0 likes · 8 min read

This guide walks through installing the GeoIP2 library, compiling Nginx with the ngx_http_geoip2 module, downloading the latest MaxMind database, and configuring Nginx to reject requests from non‑Chinese IP addresses, complete with command‑line examples and verification steps.
IP blockingLinuxgeoip2
0 likes · 7 min read

This article explains how to detect and block foreign IP addresses from accessing a website by installing the ngx_http_geoip2 module, upgrading Nginx, configuring GeoIP2 databases, updating the Nginx configuration, and verifying the setup with real traffic tests.
IP blockingLinuxServer configuration
0 likes · 8 min read

This step‑by‑step guide shows how to install the GeoIP2 library, upgrade Nginx, compile the ngx_http_geoip2 module, download the MaxMind GeoLite2 database, configure nginx.conf to detect non‑Chinese IPs, and return a 404 response to block foreign visitors.
Configurationblock foreign IPgeoip2
0 likes · 8 min read

This tutorial explains how to install the ngx_http_geoip2 module, upgrade Nginx to version 1.18, configure GeoIP2 databases, and modify the Nginx configuration to automatically reject requests from foreign IP addresses, complete with command‑line examples and verification steps.
IP blockingOperationsgeoip2
0 likes · 8 min read

This guide explains how to install the ngx_http_geoip2 module, upgrade Nginx, download the MaxMind GeoIP2 database, configure geoip2 directives and map rules, and finally block non‑Chinese IP addresses by returning a 404 response.
IP blockingLinuxgeoip2
0 likes · 8 min read

This tutorial explains how to prevent overseas IP addresses from reaching a website by installing the libmaxminddb-devel dependency, adding the ngx_http_geoip2 module to Nginx, upgrading to Nginx 1.18, configuring GeoIP2 database paths, mapping country codes, and returning a 404 response for foreign requests.
BackendIP blockinggeoip2
0 likes · 7 min read

This guide explains how to install the ngx_http_geoip2 module, upgrade Nginx, configure GeoIP2 databases, and modify the Nginx configuration to block requests from foreign IP addresses, providing step‑by‑step commands and example code for a Linux server.
IP blockingLinuxgeoip2
0 likes · 8 min read

This step‑by‑step guide shows how to install the libmaxminddb library, compile NGINX with the ngx_http_geoip2 module, download the latest GeoLite2 database, configure geoip2 directives, and verify that foreign IP addresses are blocked with a 404 response.
DevOpsIP blockinggeoip2
0 likes · 8 min read

This guide walks you through installing the GeoIP2 dependencies, adding the ngx_http_geoip2 module to NGINX, upgrading NGINX, downloading the latest GeoIP2 database, configuring NGINX to block non‑Chinese IPs, and verifying the setup with test requests.
IP blockingLinuxgeoip2
0 likes · 7 min read

This guide walks you through installing the ngx_http_geoip2 module, upgrading Nginx, downloading the GeoLite2 database, configuring Nginx to detect foreign IPs, and applying rules that return a 404 response for non‑Chinese visitors, complete with command‑line examples and verification steps.
Server configurationblock foreign IPgeoip2
0 likes · 7 min read
