Answer the question
In order to leave comments, you need to log in
Combining $whitelist $limit and $server_protocol in NGINX?
I am pathologically enraged by various bots that roam the site and do not bring money.
I try to fight them
geo $whitelist {
default 0;
64.68.80.0/21 1;
}
map $whitelist $limit {
0 $binary_remote_addr;
one "";
}
limit_req_zone $limit zone=vse:10m rate=15r/m;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question