xcaddy: add page (#4259)

client-spec/clarity
Owen Voke 2020-08-16 16:34:41 +01:00 committed by GitHub
parent cfeb1eaad1
commit 82cc25ba32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

28
pages/common/xcaddy.md Normal file
View File

@ -0,0 +1,28 @@
# 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}}`