docs: A bunch more additions since v2.3.0

I went through the whole list of commits here: https://github.com/caddyserver/caddy/compare/v2.3.0...ec3ac84
This commit is contained in:
Francis Lavoie 2021-02-17 20:25:26 -05:00
parent 06411b1f3f
commit 0a07434a42
No known key found for this signature in database
GPG key ID: 4EE5207CCECBACD7
4 changed files with 37 additions and 3 deletions

View file

@ -222,7 +222,8 @@ NOTE: Due to [a bug in Go](https://github.com/golang/go/issues/29228), version i
<pre><code class="cmd bash">caddy reload
[--config &lt;path&gt;]
[--adapter &lt;name&gt;]
[--address &lt;interface&gt;]</code></pre>
[--address &lt;interface&gt;]
[--force]</code></pre>
Gives the running Caddy instance a new configuration. This has the same effect as POSTing a document to the [/load endpoint](/docs/api#post-load), but this command is convenient for simple workflows revolving around config files. Compared to the `stop`, `start`, and `run` commands, this single command is the correct, semantic way to change/reload the running configuration.
@ -234,6 +235,8 @@ Because this command uses the API, the admin endpoint must not be disabled.
`--address` needs to be used if the admin endpoint is not listening on the default address and if it is different from the address in the provided config file. Note that only TCP addresses are supported at this time.
`--force` will cause a reload to happen even if the specified config is the same as the one the running Caddy instance is already using. Can be useful to force Caddy to reload TLS certificate files specified to load in the config, if they've become stale.
### `caddy reverse-proxy`