This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
map $geoip2_data_country_iso_code $allowed_country_${name} {
|
||||
default no;
|
||||
%{ for country in allowed_country_list}
|
||||
${country} yes;
|
||||
%{ endfor ~}
|
||||
}
|
||||
|
||||
map $allowed_country_${name} $should_log_blocked_${upper(join("_", sort(allowed_country_list)))} {
|
||||
no 1;
|
||||
default 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user