Use the following commands to block ip:
Code:
touch /etc/nginx/conf.d/block.confecho "deny 111.222.111.222;" >> /etc/nginx/conf.d/block.conf# just put IP you want to ban instead of 111.222...systemctl restart nginx
Statistics: Posted by T4B — Sat Apr 26, 2025 4:00 pm