mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 16:58:27 -04:00
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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user