Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

33
tldr/xcaddy Normal file
View 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}}`