add a bit more logging for non-SNI tls requests

for peace of mind.

these are probably requests to port 443 without SNI.
This commit is contained in:
Mechiel Lukkien
2023-02-25 12:56:25 +01:00
parent 26fcaa17f5
commit b8fa918d74
2 changed files with 4 additions and 4 deletions

View File

@ -287,6 +287,6 @@ type TLS struct {
} `sconf:"optional"`
MinVersion string `sconf:"optional" sconf-doc:"Minimum TLS version. Default: TLSv1.2."`
Config *tls.Config `sconf:"-" json:"-"`
ACMEConfig *tls.Config `sconf:"-" json:"-"`
Config *tls.Config `sconf:"-" json:"-"` // TLS config for non-ACME-verification connections, i.e. SMTP and IMAP, and not port 443.
ACMEConfig *tls.Config `sconf:"-" json:"-"` // TLS config that handles ACME verification, for serving on port 443.
}