Fix geofencing

This commit is contained in:
Albert Armea 2026-03-21 22:15:40 +00:00
parent 45181f9f54
commit 50275ae116

View file

@ -44,7 +44,7 @@ http {
# When the DB has no subdivision the variable is empty; the key becomes "CC-"
# which will not match any rule unless you explicitly add it.
map "$geoip2_country-$geoip2_subdivision" $geoip2_region_key {
default "";
default "$geoip2_country-$geoip2_subdivision";
include /etc/nginx/geoblock/repo_maps.conf;
}