mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 03:58:26 +00:00
Update cheatsheets
This commit is contained in:
33
xcaddy
Normal file
33
xcaddy
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user