Merge pull request #396 from E-Bloomer/patch-1

Corrected sample country codes
This commit is contained in:
aptalca
2022-07-26 14:11:36 -04:00
committed by GitHub
+3 -3
View File
@@ -10,13 +10,13 @@ map $geoip2_data_country_iso_code $geo-whitelist {
default yes; default yes;
# Example for whitelisting a country, comment out 'default yes;' above and uncomment 'default no;' and the whitelisted country below # Example for whitelisting a country, comment out 'default yes;' above and uncomment 'default no;' and the whitelisted country below
# default no; # default no;
# UK yes; # GB yes;
} }
map $geoip2_data_country_iso_code $geo-blacklist { map $geoip2_data_country_iso_code $geo-blacklist {
default yes; default yes;
# Example for blacklisting a country, uncomment the blacklisted country below # Example for blacklisting a country, uncomment the blacklisted country below
# UK no; # GB no;
} }
geo $lan-ip { geo $lan-ip {
@@ -25,4 +25,4 @@ geo $lan-ip {
172.16.0.0/12 yes; 172.16.0.0/12 yes;
192.168.0.0/16 yes; 192.168.0.0/16 yes;
127.0.0.1 yes; 127.0.0.1 yes;
} }