added README.md
This commit is contained in:
parent
09a2bcdf3a
commit
064fe672c8
26
README.md
Normal file
26
README.md
Normal file
@ -0,0 +1,26 @@
|
||||
# Caddy Autoreload
|
||||
|
||||
Auto reload extension, it watches externally generated certificates (like certbot) and reloads the Caddy when they change
|
||||
|
||||
## How to use it
|
||||
|
||||
There are two configuration you need to add into your Caddyfile: a global and per-site
|
||||
|
||||
### global
|
||||
```
|
||||
{
|
||||
auto_reload {
|
||||
caddyfile /etc/caddy/Caddyfile
|
||||
interval 8h
|
||||
}
|
||||
|
||||
order auto_reload first
|
||||
}
|
||||
```
|
||||
|
||||
### Per-Site
|
||||
```
|
||||
auto_reload {
|
||||
cert /etc/path/to/your/cert.pem
|
||||
}
|
||||
```
|
||||
Loading…
x
Reference in New Issue
Block a user