1
1
Fork 0
mirror of https://git.sr.ht/~emersion/tlstunnel synced 2024-05-11 13:46:03 +02:00

Drop TODO regarding ACME HTTP challenges

This commit is contained in:
Simon Ser 2020-10-21 15:24:25 +02:00
parent b5b6bba5e4
commit e532059dfa
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

View File

@ -31,7 +31,7 @@ func NewServer() *Server {
mgr := certmagic.NewACMEManager(cfg, certmagic.DefaultACME)
mgr.Agreed = true
// TODO: enable HTTP challenge by peeking incoming requests on port 80
// We're a TLS server, we don't speak HTTP
mgr.DisableHTTPChallenge = true
cfg.Issuer = mgr
cfg.Revoker = mgr