1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 05:02:10 +02:00
tldr/pages/common/xcaddy.md
2020-08-16 16:34:41 +01:00

28 lines
641 B
Markdown

# xcaddy
> The custom build tool for the Caddy Web Server.
> More information: <https://github.com/caddyserver/xcaddy>.
- Build Caddy server from source:
`xcaddy build`
- Build Caddy server with a specific version (defaults to latest):
`xcaddy build {{version}}`
- Build Caddy with a specific module:
`xcaddy build --with {{module_name}}`
- Build Caddy and output to a specific file:
`xcaddy build --output {{path/to/file}}`
- Build and run Caddy for a development plugin in the current directory:
`xcaddy run`
- Build and run Caddy for a development plugin using a specific Caddy config:
`xcaddy run --config {{path/to/file}}`