foxcpp / foxcpp/maddy

unknown config block: local_tls

Ouverte
#577 6 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Go
Étoiles
6.1k
Forks
327
Métriques de merge des PR
Aucune PR mergée en 30 j

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
go
Domaine
backend, security
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.