mirror of
https://github.com/caddyserver/website.git
synced 2025-04-23 13:36:16 -04:00
docs: Updates for Caddy v2.4.4 (#189)
* docs: Updates for Caddy v2.4.4 * Adjust wording * Clarify HTTPS proxy usage, reorder lb policies for clarity * Reorder directives, add comments
This commit is contained in:
parent
83fdd80db1
commit
3dac36ebc8
10 changed files with 119 additions and 50 deletions
|
@ -67,7 +67,13 @@ The ellipses `...` indicates a continuation, i.e. one or more parameters.
|
|||
|
||||
- **[caddy upgrade](#caddy-upgrade)**
|
||||
Upgrades Caddy to the latest release
|
||||
|
||||
|
||||
- **[caddy add-package](#caddy-add-package)**
|
||||
Upgrades Caddy to the latest release, with additional plugins added
|
||||
|
||||
- **[caddy remove-package](#caddy-remove-package)**
|
||||
Upgrades Caddy to the latest release, with some plugins removed
|
||||
|
||||
- **[caddy validate](#caddy-validate)**
|
||||
Tests whether a config file is valid
|
||||
|
||||
|
@ -367,6 +373,27 @@ The upgrade process is fault tolerant; the current binary is backed up first and
|
|||
This command may require elevated privileges if your user does not have permission to write to the executable file.
|
||||
|
||||
|
||||
|
||||
### `caddy add-package`
|
||||
|
||||
<pre><code class="cmd bash">caddy add-package <packages...></code></pre>
|
||||
|
||||
Similarly to `caddy upgrade`, replaces the current Caddy binary with the latest version with the same modules installed, _plus_ the packages listed as arguments included in the new binary. Find the list of packages you can install from [our download page](https://caddyserver.com/download). Each argument should be the full package name.
|
||||
|
||||
For example:
|
||||
|
||||
<pre><code class="cmd bash">caddy add-package github.com/caddy-dns/cloudflare</code></pre>
|
||||
|
||||
|
||||
|
||||
### `caddy remove-package`
|
||||
|
||||
<pre><code class="cmd bash">caddy remove-package <packages...></code></pre>
|
||||
|
||||
Similarly to `caddy upgrade`, replaces the current Caddy binary with the latest version with the same modules installed, but _without_ the packages listed as arguments, if they existed in the current binary. Run `caddy list-modules --packages` to see the list of package names of non-standard modules included in the current binary.
|
||||
|
||||
|
||||
|
||||
### `caddy validate`
|
||||
|
||||
<pre><code class="cmd bash">caddy validate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue