unknown config block: local_tls
- Dominant language
- Go
- Stars
- 6.1k
- Forks
- 327
- PR merge metrics
- No merged PRs in 30d
Description
# 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
Contributor guide
Assessment
This issue has not been assessed yet.