Tagged articles
2 articles
Page 1 of 1
MaGe Linux Operations
MaGe Linux Operations
Mar 14, 2025 · Backend Development

Mastering Nginx IP Whitelists and Blacklists: Step‑by‑Step Guide

This tutorial explains how to configure Nginx to control access by IP using allow/deny directives, include files, the ngx_http_geo_module for subnet and country restrictions, and the ngx_http_geoip_module for geographic blocking, with complete configuration examples and installation commands.

GeoIPIP whitelistgeo module
0 likes · 8 min read
Mastering Nginx IP Whitelists and Blacklists: Step‑by‑Step Guide
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.

IP whitelistgeo moduleip blacklist
0 likes · 9 min read
Configuring IP Whitelist/Blacklist and Geo‑Based Access Control in Nginx