foxcpp / foxcpp/maddy

unknown config block: local_tls

未关闭
#577 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Go
星标
6.1k
派生
327
PR 合并指标
30 天内没有已合并 PR

描述

# 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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。