Add some more detail to the README about the different Let's Encrypt
validation methods.
This commit is contained in:
parent
5f60671d12
commit
3260362436
2 changed files with 11 additions and 3 deletions
2
app.go
2
app.go
|
@ -165,7 +165,7 @@ func (h *Headscale) Serve() error {
|
|||
if h.cfg.TLSLetsEncryptChallengeType == "TLS-ALPN-01" {
|
||||
// Configuration via autocert with TLS-ALPN-01 (https://tools.ietf.org/html/rfc8737)
|
||||
// The RFC requires that the validation is done on port 443; in other words, headscale
|
||||
// must be configured to run on port 443.
|
||||
// must be reachable on port 443.
|
||||
err = s.ListenAndServeTLS("", "")
|
||||
} else if h.cfg.TLSLetsEncryptChallengeType == "HTTP-01" {
|
||||
// Configuration via autocert with HTTP-01. This requires listening on
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue