xcaddy
Build custom Caddy with modules
TLDR
Build Caddy with modules
SYNOPSIS
xcaddy [build|run] [version] [--with module] [options]
DESCRIPTION
xcaddy is a build tool for creating custom Caddy web server binaries with additional modules compiled in. It uses the Go toolchain to compile Caddy from source with the specified plugins included, producing a single binary with all desired functionality.
The build command compiles a specific Caddy version with one or more modules, while the run command temporarily builds and runs Caddy with the specified modules for development and testing without producing a permanent binary. Multiple modules can be included using repeated --with flags.
PARAMETERS
build
Build Caddy.run
Run Caddy.--with MODULE
Include module.--output FILE
Output path.--replace REPL
Go replace directive.
CAVEATS
Go required. Build time varies. For custom Caddy.
HISTORY
xcaddy was created by the Caddy project for building custom Caddy binaries with plugins.
