From 50275ae1160a78648b1632bf3d300db5761604cb Mon Sep 17 00:00:00 2001 From: Albert Armea Date: Sat, 21 Mar 2026 22:15:40 +0000 Subject: [PATCH] Fix geofencing --- nginx/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index e244dc1..8a51395 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -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; }