@marcel91200 / caddy Mirror · read-only / commits / 935b09de
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 11, 17:15 UTC

caddtls: Skip .ts.net domains for ECH (#6971)

As it is also a special case in our automatic HTTPS.

Matthew Holt committed Jan 30, 2026 at 12:24 UTC 935b09de836d5ce001632193ac21c19abf0a57ed
1 file changed +4
modules/caddytls/ech.go
+4
@@ -392,6 +392,10 @@ func (t *TLS) publishECHConfigs(logger *zap.Logger) error {
392 if publication.Domains == nil {
393 serverNamesSet = make(map[string]struct{}, len(t.serverNames))
394 for name := range t.serverNames {
395 + // skip Tailscale names, a special case we also handle differently in our auto-HTTPS
396 + if strings.HasSuffix(name, ".ts.net") {
397 + continue
398 + }
399 serverNamesSet[name] = struct{}{}
400 }
401 } else {