mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-28 01:06:50 +09:00
Adds DNS-01 for headscale's own certificate through dns.challenge.provider, with the same propagation check as node certificates. Storage format changes: first start gets a new account and certificate. Updates #2527 Updates #504
17 lines
311 B
Go
17 lines
311 B
Go
package types
|
|
|
|
import "time"
|
|
|
|
const (
|
|
HTTPTimeout = 30 * time.Second
|
|
HTTPShutdownTimeout = 3 * time.Second
|
|
TLSALPN01ChallengeType = "TLS-ALPN-01"
|
|
HTTP01ChallengeType = "HTTP-01"
|
|
DNS01ChallengeType = "DNS-01"
|
|
|
|
JSONLogFormat = "json"
|
|
TextLogFormat = "text"
|
|
|
|
MaxHostnameLength = 255
|
|
)
|