List of Caddy 2 Modules

This list is maintained by the community until the new website supports registering modules.

:warning: This list is deprecated. The new download page lists all known plugins you can use. Plugin authors: please claim your plugin packages in the Caddy portal.


Note that many of these plugins are still in development, so please be patient with the developers and help them out, thanks! :slight_smile:

Building Caddy with Plugins

For now, the easiest way is to use xcaddy:

$ xcaddy build --with <module_path>[@<version>]

(The version can be a commit SHA or tag name. If omitted, the latest tag is used.)

For example, to build Caddy with the NGINX adapter plugged in:

$ xcaddy build --with github.com/caddyserver/nginx-adapter

Module list (outdated)

Description Module path & link
Deploy your site with ‘git push’ github.com/vrongmeal/caddygit
Prometheus metrics github.com/hairyhenderson/caddyprom
Raspberry Pi IoT functionality github.com/gochiot/gochiot
Request matcher using client certs github.com/nwhirschfeld/client_cert_matcher
Experimental dynamic DNS app github.com/mholt/caddy-dynamicdns
Reverse proxy circuit breaker github.com/caddyserver/circuitbreaker
Reverse proxy NTLM transport github.com/caddyserver/ntlm-transport
Run one-off commands github.com/abiosoft/caddy-exec
Automatic configuration via
Docker container labels
github.com/lucaslorentz/caddy-docker-proxy
Generate JSON schema
for Caddy config
github.com/abiosoft/caddy-json-schema
Compose reusable http routes github.com/abiosoft/caddy-named-routes
Custom log format github.com/caddyserver/format-encoder

HTTP handlers

Description Module path & link
WebDAV github.com/mholt/caddy-webdav
Example 418 teapot handler github.com/hairyhenderson/caddy-teapot-module
SAML auth github.com/greenpau/caddy-auth-saml
JWT auth github.com/greenpau/caddy-auth-jwt
Form or LDAP auth github.com/greenpau/caddy-auth-forms
Secure forward proxy
(v2 WIP in pull request)
github.com/caddyserver/forwardproxy
Distributed cache github.com/caddyserver/cache-handler
Parse JSON body github.com/abiosoft/caddy-json-parse
HMAC signature validation github.com/abiosoft/caddy-hmac
Replace contents in response (similar to http.filter) github.com/sjtug/caddy2-filter

DNS modules

How to use them for ACME challenges

Description Module path & link
All 75+ legacy
providers
github.com/caddy-dns/lego-deprecated
Cloudflare github.com/caddy-dns/cloudflare
Gandi github.com/caddy-dns/gandi
Route 53 github.com/caddy-dns/route53

Config adapters

(Config adapters aren’t technically modules since they don’t integrate with Caddy’s native JSON config structure, but they’re still plugins.)

Storage modules

12 Likes

A post was split to a new topic: More docs about building with plugins