Plug Deflect
Date:
2026-05-16
A few web applications I managed were consistently showing invalid scanning traffic - like requests for wp-admin or etc files.
After addressing it this routing issue in a third project, I sought to DRY it up.
The result is a small, reusable Elixir Plug, https://github.com/afomi/plug_deflect.
Drop it in an Elixir Phoenix project to deflect invalid traffic. Paths can be customized as well.