unknown config block: local_tls
- Vorherrschende Sprache
- Go
- Sterne
- 6.1k
- Forks
- 327
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
# Describe the bug
Cannot run maddy with tls.loader.acme in config, getting "unknown config block: local_tls" error on start.
# Steps to reproduce
- get latest code from git.
- in maddy.conf replace `tls file /etc/maddy/certs/$(hostname)/fullchain.pem /etc/maddy/certs/$(hostname)/privkey.pem` with
```
tls.loader.acme local_tls {
email put-your-email-here@example.org
agreed # indicate your agreement with Let's Encrypt ToS
challenge dns-01
}
tls &local_tls
```
_this is taken from `https://maddy.email/reference/tls-acme/`_
- start maddy
# Log files
```unknown config block: local_tls```
# Configuration file
see above in steps
# Environment information
* maddy version: master
Beitragsleitfaden
Rechercherichtung
Start by reproducing the configuration in maddy.conf using the tls.loader.acme local_tls block and the tls &local_tls reference. Trace how these configuration entry points are parsed and compare them with the tls-acme reference; done means maddy starts without the unknown config block error.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- go
- Bereich
- backend, security
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100