Modify certificatesDuration documentation
This commit is contained in:
parent
a5df24a21d
commit
c3e943658a
1 changed files with 13 additions and 14 deletions
|
@ -606,9 +606,21 @@ docker run -v "/my/host/acme:/etc/traefik/acme" traefik
|
||||||
|
|
||||||
_Optional, Default=2160_
|
_Optional, Default=2160_
|
||||||
|
|
||||||
The `certificatesDuration` option defines the certificates' duration in hours.
|
`certificatesDuration` is used to calculate two durations:
|
||||||
|
|
||||||
|
- `Renew Period`: the period before the end of the certificate duration, during which the certificate should be renewed.
|
||||||
|
- `Renew Interval`: the interval between renew attempts.
|
||||||
|
|
||||||
It defaults to `2160` (90 days) to follow Let's Encrypt certificates' duration.
|
It defaults to `2160` (90 days) to follow Let's Encrypt certificates' duration.
|
||||||
|
|
||||||
|
| Certificate Duration | Renew Period | Renew Interval |
|
||||||
|
|----------------------|-------------------|-------------------------|
|
||||||
|
| >= 1 year | 4 months | 1 week |
|
||||||
|
| >= 90 days | 30 days | 1 day |
|
||||||
|
| >= 7 days | 1 day | 1 hour |
|
||||||
|
| >= 24 hours | 6 hours | 10 min |
|
||||||
|
| < 24 hours | 20 min | 1 min |
|
||||||
|
|
||||||
!!! warning "Traefik cannot manage certificates with a duration lower than 1 hour."
|
!!! warning "Traefik cannot manage certificates with a duration lower than 1 hour."
|
||||||
|
|
||||||
```yaml tab="File (YAML)"
|
```yaml tab="File (YAML)"
|
||||||
|
@ -633,19 +645,6 @@ certificatesResolvers:
|
||||||
# ...
|
# ...
|
||||||
```
|
```
|
||||||
|
|
||||||
`certificatesDuration` is used to calculate two durations:
|
|
||||||
|
|
||||||
- `Renew Period`: the period before the end of the certificate duration, during which the certificate should be renewed.
|
|
||||||
- `Renew Interval`: the interval between renew attempts.
|
|
||||||
|
|
||||||
| Certificate Duration | Renew Period | Renew Interval |
|
|
||||||
|----------------------|-------------------|-------------------------|
|
|
||||||
| >= 1 year | 4 months | 1 week |
|
|
||||||
| >= 90 days | 30 days | 1 day |
|
|
||||||
| >= 7 days | 1 day | 1 hour |
|
|
||||||
| >= 24 hours | 6 hours | 10 min |
|
|
||||||
| < 24 hours | 20 min | 1 min |
|
|
||||||
|
|
||||||
### `preferredChain`
|
### `preferredChain`
|
||||||
|
|
||||||
_Optional, Default=""_
|
_Optional, Default=""_
|
||||||
|
|
Loading…
Reference in a new issue