From 904fb2cca550f97f9f32c6e45a25f563aacc7a68 Mon Sep 17 00:00:00 2001 From: E-Bloomer <77684434+E-Bloomer@users.noreply.github.com> Date: Thu, 14 Jul 2022 00:37:52 +0100 Subject: [PATCH] Corrected sample country codes UK is not an ISO 3166-2 code and as such won't work as intended. --- root/defaults/dbip.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/root/defaults/dbip.conf b/root/defaults/dbip.conf index 3d4b098..3a48efb 100644 --- a/root/defaults/dbip.conf +++ b/root/defaults/dbip.conf @@ -10,13 +10,13 @@ map $geoip2_data_country_iso_code $geo-whitelist { default yes; # Example for whitelisting a country, comment out 'default yes;' above and uncomment 'default no;' and the whitelisted country below # default no; - # UK yes; + # GB yes; } map $geoip2_data_country_iso_code $geo-blacklist { default yes; # Example for blacklisting a country, uncomment the blacklisted country below - # UK no; + # GB no; } geo $lan-ip { @@ -25,4 +25,4 @@ geo $lan-ip { 172.16.0.0/12 yes; 192.168.0.0/16 yes; 127.0.0.1 yes; -} \ No newline at end of file +}