Tag

geo module

0 views collected around this technical thread.

Architecture Digest
Architecture Digest
Dec 27, 2023 · Backend Development

Configuring IP Whitelist/Blacklist and Geo‑Based Access Control in Nginx

This article explains how to configure Nginx for IP whitelist/blacklist access control using the allow/deny directives, the ngx_http_geo_module for IP and country restrictions, and provides step-by-step examples, file setups, and GeoIP module installation for both Ubuntu and CentOS.

BackendIP blacklistIP whitelist
0 likes · 9 min read
Configuring IP Whitelist/Blacklist and Geo‑Based Access Control in Nginx