A control plane for a Caddy reverse proxy: a React admin UI over an ASP.NET Core (.NET 10) service that runs Caddy and manages its servers, routes, certificates, access and audit trail.

Try it on demo data (example domains and documentation IP addresses) from a clone of this repository:
bun install
Seed__Demo=true ConnectionStrings__AppDb="Data Source=/tmp/sslrp-demo.db" dotnet run --project server/src/SslReverseProxy.Api &
bun run dev
Open http://localhost:5173. The UI claims the one-time bootstrap key from the local control plane and signs in as Bootstrap Admin; the dashboard shows 1 active server, 1 inactive server and 1 server error.
Traffic figures need Caddy running; bun run e2e and bun run screenshots start it on unprivileged ports (docs/development.md).
| Item |
Version |
| .NET SDK |
10.0 |
| Bun |
1.4 |
| Node.js |
22.12 or later, for the Vitest suite |
| Caddy |
2.7 or later; the per-rule rate limit needs caddy-ratelimit and DNS-01 needs caddy-dns/cloudflare (server/README.md) |
| Platform |
Linux (CI and the container image) |
| Area |
What it does |
| Proxy |
Starts, stops, validates and reloads Caddy; shows a redacted diff against Caddy's running config before a reload or rollback, and refuses the push if either side moved since |
| Routes |
Servers with host and path routes (optional path strip), per-route IP allow and deny lists, rate limits and Basic auth |
| Sign-in on a route |
Authelia, Authentik or oauth2-proxy forward auth, or a Cloudflare Access token check |
| Certificates |
ACME through Caddy, the certificate Caddy serves for each name, forced renewals, wildcards over Cloudflare DNS-01 with a server-held token |
| Server status |
Background probe of every enabled rule's upstreams; live updates in the UI |
| Traffic |
Requests, bandwidth, status classes, response time and percentiles from Caddy's metrics over 24 hours; each rule's recent requests without query strings or headers |
| Alerts |
Server and certificate events to a webhook (such as Home Assistant's) or ntfy, with a test button |
| Authentication |
Passkeys (cookie sessions with CSRF tokens), hashed API keys scoped to chosen permissions and expiring within a year, or mutual TLS |
| Authorization |
Deny-by-default roles (Admin, Editor, Viewer) on every action; every upstream re-validated server-side against SSRF |
| Backup |
Exports servers, rules and certificate definitions to a file; imports one, merge or replace, after a dry run of the exact changes |
| Audit |
Append-only audit trail with config snapshots and one-call rollback |
| UI |
Light and dark themes, custom themes, interface scale |
From the control plane's Development demo data (Seed:Demo). Dashboard traffic is what Caddy served to test requests during the capture. bun run screenshots retakes them.
| Proxy control |
Reload preview |
 |
 |
| Servers |
Proxy rules |
 |
 |
| Recent requests to a rule |
Sign-in on a rule |
 |
 |
| API keys |
New API key |
 |
 |
| SSL certificates |
Users |
 |
 |
| Backup |
Audit log |
 |
 |
server/docker-compose.yml runs the control plane with Caddy and its plugins in one container, the proxy on 80 and 443 and the control API on 127.0.0.1:8080:
cd server
SSLRP_API_KEY_PEPPER=$(openssl rand -base64 32) docker compose up -d --build
The first start prints a one-time bootstrap API key to the container log. Serve the built UI (bun run build, output in dist/) and route /api to the control API from the same TLS edge. Secrets, passkeys, trusted proxies and the other settings: server/README.md.
| Symptom |
Fix |
| The quickstart UI asks for an API key instead of signing in |
The bootstrap key is claimed once per seeding process, and demo data seeds only a new database. Stop the control plane, delete /tmp/sslrp-demo.db, and run the dotnet run line again. |
dotnet run fails with address already in use on 5195 |
Another process holds the port. Stop it, or run the control plane elsewhere and point the dev UI at it with SSLRP_API_TARGET. |
Production start stops with Security:ApiKeyPepper is not set or is not base64 |
Set SSLRP_API_KEY_PEPPER (compose) or Security__ApiKeyPepper to the output of openssl rand -base64 32. |
| Path |
Contents |
/ (React, TypeScript, Vite) |
Admin UI: dashboard, proxy control, servers and rules, SSL certificates, users, API keys, audit log, settings. Talks to the API through services/apiClient.ts. |
server/ (ASP.NET Core, .NET 10) |
Control plane: authentication, authorization, secret custody, proxy lifecycle. Endpoint and configuration reference in its README. |
e2e/ |
Playwright browser tests and the screenshot script |