Skip to content

indeax

The systems department for your company or web agency

  • Services
    • Magento
    • PrestaShop
    • WooCommerce
    • Server administration
    • Security
    • Incident response
    • Consulting
    • FAQ
    • Monitoring
    • Backups
  • Contact
  • Articles

waf

Blocking AI scrapers and noisy bots with nginx using the User-Agent (first line of defense)

A simple, free first line of defense: filter AI scrapers, SEO crawlers, and noisy bots directly in nginx using the User-Agent. The complete bad-bots.conf file, how to activate it per vhost, log the blocks, and why it cut server load by over 50%.

Categories SysAdmin Tags ddos, debian, nginx, waf Leave a comment

Tags

alerts (2) backups (2) bhyve (1) bsd (1) cloudflare (1) ddos (1) debian (2) freebsd (6) fstrim (1) headers (1) hetzner (1) hypervisor (2) images (1) kernel (1) kvm (2) linux (8) magento (1) monit (2) monitoring (2) mysql (2) nginx (1) oom-killer (1) os (1) php (1) prestashop (1) proc (1) proxmox (1) proxy (1) raw (1) regex (1) rsync (2) scraping (1) seguridad (1) snapshots (2) strace (1) sudo (1) unix (3) waf (1) zfs (4)
© 2026 # indeax • Política de privacidad
Este sitio web no utiliza cookies de seguimiento ni analítica.