GitHub - btafoya/caddy-access-gateway: A lightweight Go email magic-link authorization gateway for protecting multiple Caddyserver-hosted staging/development websites.

Wait 5 sec.

I’ve been a software developer and a long-time Caddyserver user — 10+ years now, going back to its early releases. I use Caddyserver heavily across my web application development and hosting services (I have been in the hosting business for 20+ years now!), and it is a core part of my application infrastructure. I’m currently finishing up a client project and wanted a simple way to put a gateway in front of my staging sites blocking search engine bots and anyone who shouldn’t have access without having to modify the application code itself. That’s where this tool came from. I put together a detailed implementation plan, fed it to Claude Code, worked through and fixed the issues that came up, and deployed it directly into my own workflow. And honestly, it just works. It uses Postmark for email delivery, has an integrated SQLite database, and is written in Go. It can run as a systemd service on Linux or in Docker using Docker Compose. It’s also open source under the MIT License. The goal is to provide a lightweight access layer in front of any site while keeping the actual application completely untouched. I can protect staging environments, keep them out of search indexes, and continue working on client projects without having to build authentication or staging-specific logic into each application. I built it to solve a problem I was having, but figured other Caddy users might find it useful too. Hope it helps!   submitted by   /u/LuckyEdR   to   r/caddyserver [link]   [comments]