Answer domain redirects from the edge, with or without Traefik
CI / test (push) Successful in 2m11s
Release / release (push) Successful in 3m45s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
VeillaxandClaude Sonnet 5.5 committed 2026-10-27 04:07:03 -06:00
1 parent ad56fa4e3a
commit b46e0813fe
6 files changed
+89 -13

No files matched your search

+2 -2
View File
@@ -505,14 +505,14 @@ func (b *Blacktip) newMapState(m model.Mapping, sig string) *mapState {
for i := range ms.health {
ms.health[i] = model.TargetHealth{Healthy: true, Detail: "not checked yet"}
}
if model.Web(m.Proto) {
if model.Web(m.Proto) && !m.IsRedirect() { // a redirect has nothing behind it to relay to or check
if b.tr != nil {
ms.startRelay()
} else {
ms.initProxy()
}
}
if m.Proto != model.ProtoUDP && m.HealthSeconds != -1 {
if m.Proto != model.ProtoUDP && m.HealthSeconds != -1 && !m.IsRedirect() {
go b.healthLoop(ctx, ms)
}
return ms