mirror of
https://github.com/caddyserver/website.git
synced 2025-04-22 21:16:15 -04:00
docs: Several minor tweaks and fixes
This commit is contained in:
parent
a80f20b385
commit
cca0660339
7 changed files with 46 additions and 38 deletions
|
@ -76,14 +76,14 @@ The ellipses `...` indicates a continuation, i.e. one or more parameters.
|
|||
### `caddy adapt`
|
||||
|
||||
<pre><code class="cmd bash">caddy adapt
|
||||
--config <path>
|
||||
[--config <path>]
|
||||
[--adapter <name>]
|
||||
[--pretty]
|
||||
[--validate]</code></pre>
|
||||
|
||||
Adapts a configuration to Caddy's native JSON config structure and writes the output to stdout, along with any warnings to stderr, then exits.
|
||||
|
||||
`--config` is the path to the config file. If blank, will default to `Caddyfile` in current directory if it exists; otherwise, this flag is required.
|
||||
`--config` is the path to the config file. If omitted, assumes `Caddyfile` in current directory if it exists; otherwise, this flag is required.
|
||||
|
||||
`--adapter` specifies the config adapter to use; default is `caddyfile`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue