geo $whitelist {
default 0;
# CIDR in the list below are not limited
1.2.3.0/24 1;
4.5.6.0/24 1;
7.8.9.0/24 1;
}
map $whitelist $limit {
0 $binary_remote_addr;
1 "";
}
1.1.1.1
2.2.2.2
3.3.3.3