diff --git a/server/certificates/cached_challengers.go b/server/certificates/cached_challengers.go index 2a30c26..bc9ea67 100644 --- a/server/certificates/cached_challengers.go +++ b/server/certificates/cached_challengers.go @@ -47,7 +47,7 @@ func (a AcmeHTTPChallengeProvider) CleanUp(domain, token, _ string) error { } func SetupHTTPACMEChallengeServer(challengeCache cache.SetGetKey, sslPort uint) http.HandlerFunc { - // not null if a custom port needs to be added to https redirects + // handle custom-ssl-ports to be added on https redirects portPart := "" if sslPort != 443 { portPart = fmt.Sprintf(":%d", sslPort)