fix(haproxy): check-alpn http/1.1 für HTTPS-Backends mit Healthcheck
L7TOUT-Bug: server-Stmt setzt `alpn h2,http/1.1` → Server handelt h2 aus → `option httpchk` sendet HTTP/1.x → Server antwortet nicht → HAProxy markiert Backend DOWN → 503 für alle Requests. Fix: explizit `check-alpn http/1.1` an die Server-Direktive wenn Scheme=https UND Healthcheck aktiv. HTTP-only-Backends bleiben unverändert. Bonus 1: Inter-Font lokal in public/fonts/ (DSGVO, Performance, Offline- Dev) — Pattern 1:1 aus netcell-webpanel. Kein Google-CDN-Roundtrip mehr. Test: TestRender_HTTPSHealthcheckPinsAlpnHTTP1 stellt sicher dass der Pin gesetzt wird und HTTP-Backends KEIN check-alpn bekommen. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -48,7 +48,7 @@ import (
|
||||
wgsvc "git.netcell-it.de/projekte/edgeguard-native/internal/services/wireguard"
|
||||
)
|
||||
|
||||
var version = "1.0.55"
|
||||
var version = "1.0.56"
|
||||
|
||||
func main() {
|
||||
addr := os.Getenv("EDGEGUARD_API_ADDR")
|
||||
|
||||
Reference in New Issue
Block a user