Fail2ban is on almost every self-hosted Linux box, but the configs are scattered. This site collects the ones that actually work into one library — each recipe is the shortest correct path to protecting one service, with the exact file path, the config block, the reload command, and how to confirm it's banning.
Recipes are checked against Fail2ban 0.11 / 1.x on Debian- and Ubuntu-based systems. Where a config could lock you out, the recipe shows the safe way first.