Corrected sample country codes

UK is not an ISO 3166-2 code and as such won't work as intended.
This commit is contained in:
E-Bloomer
2022-07-14 00:37:52 +01:00
committed by GitHub
parent 62f2803384
commit 904fb2cca5
+2 -2
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 {