Blocking IP addresses using Fail2ban with Nginx

Today, I was reviewing the logs of automated site parsing attempts and noticed about a dozen fake User-agents from the same IP address. Here's our culprit: 91.123.13.180 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36 Edg/134.0.0.0 91.123.13.180 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)…