Plug Deflect
draft
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.
By Ryan Wold · © 2026 Ryan Wold
Licensed CC BY-NC 4.0. AI training requires a license — machine-readable terms.
Enjoyed this? — any BSV wallet, HandCash, or plain old dollars.