cc-wording

This commit is contained in:
6543 2023-02-13 22:15:48 +01:00
parent f259180aed
commit 62c1dcccb7
No known key found for this signature in database
GPG key ID: B8BE6D610E61C862

View file

@ -47,7 +47,7 @@ func (a AcmeHTTPChallengeProvider) CleanUp(domain, token, _ string) error {
} }
func SetupHTTPACMEChallengeServer(challengeCache cache.SetGetKey, sslPort uint) http.HandlerFunc { 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 := "" portPart := ""
if sslPort != 443 { if sslPort != 443 {
portPart = fmt.Sprintf(":%d", sslPort) portPart = fmt.Sprintf(":%d", sslPort)