mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-05-06 19:07:49 +00:00
fix http -> https redirect and add integration tests for it
This commit is contained in:
parent
9a3d1c36dc
commit
e008cc446d
6 changed files with 49 additions and 8 deletions
server/certificates
|
@ -47,6 +47,7 @@ func TLSConfig(mainDomainSuffix string,
|
|||
if proto != tlsalpn01.ACMETLS1Protocol {
|
||||
continue
|
||||
}
|
||||
log.Info().Msgf("Detect ACME-TLS1 challenge for '%s'", domain)
|
||||
|
||||
challenge, ok := challengeCache.Get(domain)
|
||||
if !ok {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue