Caddy Proxy Manager

Plugins

Plugins add extra features to Caddy. CPM only writes the config for them: the plugin must be built into your Caddy. The all-in-one image already contains all of them.

If you enable a plugin that is missing from your Caddy build, Caddy rejects the config and CPM shows a message. Nothing breaks.

Available plugins

Plugin What it does Applies to
Cloudflare DNS Certificates via Cloudflare DNS, needed for wildcards. Token goes on Settings > Global All hosts
TransIP DNS Certificates via TransIP DNS All hosts
Hetzner DNS Certificates via Hetzner DNS All hosts
DuckDNS Certificates via DuckDNS All hosts
Dynamic DNS Updates your DNS records when your home IP changes All hosts
Cloudflare trusted proxies Shows the real visitor IP instead of Cloudflare's All hosts
CrowdSec bouncer Blocks IPs based on CrowdSec decisions Per host
Rate limit Limits requests per visitor IP (default 100 per minute) Per host
GeoIP (MaxMind) Allows or denies visitors by country Per host
Cache Keeps responses in memory for faster pages Per host
Caddy Defender Blocks known AI scrapers and cloud bot networks Per host
Spamhaus DROP Blocks traffic from known criminal networks Per host
Plausible Analytics Counts page views server-side, no JavaScript needed Per host
Umami Analytics Counts page views server-side, no JavaScript needed Per host

Only one DNS plugin can be enabled at a time.

How to enable a plugin

  1. Open Plugins, click the plugin, fill in its fields and switch it On. Each plugin shows short setup steps.
  2. All hosts plugins work right away.
  3. Per host plugins also need to be switched on for hosts:
    • for every host at once under Options > Plugins, or
    • for one host in the Plugins tab of that host.

Your own Caddy build

  • All-in-one image: change the list with CADDY_PLUGINS in the build.args of docker-compose.yml and run docker compose up -d --build. An empty value gives plain Caddy without plugins.
  • Caddy on the host: the Plugins page shows ready-to-use xcaddy commands and a script that builds Caddy with all plugins. Your original Caddy is kept and can be restored.

DNS plugins

A DNS plugin lets Caddy prove it owns a domain through your DNS provider. That is the only way to get wildcard certificates such as *.example.com.

With a DNS plugin on, Caddy requests all certificates through that DNS provider. Every domain on this Caddy must be in a zone the token can edit.

For the Cloudflare steps, see Catch-all 404 page with Cloudflare. For wildcard hosts you only need steps 2 to 4.