Turn Your Nginx Server into a Fortress with Fail2ban and UFW https://scalastic.io/en/ufw-fail2ban-nginx/