mirror of
https://github.com/acaloiaro/caddy-incus-upstreams
synced 2026-07-21 18:29:13 +00:00
docs: reload/restart
This commit is contained in:
parent
e0bd6cbeb3
commit
bf5a8ebbf9
1 changed files with 8 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue