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:
Francis Lavoie 2021-08-31 13:39:15 -04:00 committed by GitHub
parent 83fdd80db1
commit 3dac36ebc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 119 additions and 50 deletions

View file

@ -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 &lt;packages...&gt;</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 &lt;packages...&gt;</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