docs: reload/restart
This commit is contained in:
parent
e0bd6cbeb3
commit
bf5a8ebbf9
@ -9,6 +9,7 @@ Incus dynamic upstreams for Caddy v2+ 🧨
|
|||||||
Set the following config on your Incus instance.
|
Set the following config on your Incus instance.
|
||||||
|
|
||||||
```bash
|
```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.enable=true
|
||||||
incus config set <instance-name> user.caddyserver.http.matchers.host=<domain>
|
incus config set <instance-name> user.caddyserver.http.matchers.host=<domain>
|
||||||
incus config set <instance-name> user.caddyserver.http.upstream.port=<port>
|
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
|
## Notes
|
||||||
|
|
||||||
The plugin responds to the following Incus events:
|
The plugin responds to the following Incus events:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user