docs: reload/restart

This commit is contained in:
decentral1se 2024-12-18 15:52:02 +01:00
parent e0bd6cbeb3
commit bf5a8ebbf9
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410

View File

@ -9,6 +9,7 @@ Incus dynamic upstreams for Caddy v2+ 🧨
Set the following config on your Incus instance.
```bash
incus launch images:alpine/3.20 <instance-name>
incus config set <instance-name> user.caddyserver.http.enable=true
incus config set <instance-name> user.caddyserver.http.matchers.host=<domain>
incus config set <instance-name> user.caddyserver.http.upstream.port=<port>
@ -32,6 +33,13 @@ example.com {
}
```
And then make sure everything gets picked up with a `reload`/`restart`.
```
caddy reload
incus restart <instance-name>
```
## Notes
The plugin responds to the following Incus events: