NGINX — how to make a large black list?
Hello. Found on one of the projects unpleasant moments, and you want to block obvious violators. The fact that IP can add as blocking. How will the map behave with, for example, 20 IPS? Or is there a more elegant solution? Thank you.
1 answer
65K elements in geomap - garbage.
Somewhere in the 100k should have to think about what you are doing wrong.
Find more questions by tags Nginx
http_map not needed here, and inside there is the same.
With Marie, the only difference is there of the regular season, they can slow down the whole thing. - eldon_Batz84 commented on July 8th 19 at 12:27
"Describes for the variable dependence of the values from the IP address of the client. By default, the address is taken from the $remote_addr variable, but it can also be obtained from another variable (0.7.27), for example:"
For massive addresses in nginx geo use, it's fast. Point. - eldon_Batz84 commented on July 8th 19 at 12:33