LinuxCommandLibrary

xcaddy

The custom build tool for the Caddy Web Server.

TLDR

Build Caddy server from source

$ xcaddy build
copy


Build Caddy server with a specific version (defaults to latest)
$ xcaddy build [version]
copy


Build Caddy with a specific module
$ xcaddy build --with [module_name]
copy


Build Caddy and output to a specific file
$ xcaddy build --output [path/to/file]
copy


Build and run Caddy for a development plugin in the current directory
$ xcaddy run
copy


Build and run Caddy for a development plugin using a specific Caddy config
$ xcaddy run --config [path/to/file]
copy

Copied to clipboard