diff --git a/http/web.go b/http/web.go index 9886446..021f5b6 100644 --- a/http/web.go +++ b/http/web.go @@ -396,7 +396,7 @@ func Listen() { } if l.MTASTSHTTPS.Enabled { port := config.Port(l.MTASTSHTTPS.Port, 443) - srv := ensureServe(!l.AutoconfigHTTPS.NonTLS, port, "mtasts-https") + srv := ensureServe(!l.MTASTSHTTPS.NonTLS, port, "mtasts-https") mtastsMatch := func(dom dns.Domain) bool { // todo: may want to check this against the configured domains, could in theory be just a webserver. return strings.HasPrefix(dom.ASCII, "mta-sts.")