02ded6c26b
Browsers coalesce HTTP/2 connections across *.unkin.net hosts sharing the traefik-external IP. A request for a haproxy-fronted host (e.g. git.unkin.net) on a grafana connection skips SNI passthrough and hits Traefik with no HTTP router, returning 404. - replace the TLS passthrough listener with an HTTPS listener terminating the three LE wildcards - replace the haproxy TLSRoute with an HTTPRoute for the same hosts - add a BackendTLSPolicy re-encrypting to haproxy:443 Reviewed-on: #547 Co-authored-by: unkin-agent <unkin-agent@unkin.net> Co-committed-by: unkin-agent <unkin-agent@unkin.net>
17 lines
296 B
YAML
17 lines
296 B
YAML
---
|
|
apiVersion: gateway.networking.k8s.io/v1
|
|
kind: BackendTLSPolicy
|
|
metadata:
|
|
name: haproxy
|
|
namespace: haproxy
|
|
labels:
|
|
app: haproxy
|
|
spec:
|
|
targetRefs:
|
|
- group: ""
|
|
kind: Service
|
|
name: haproxy
|
|
validation:
|
|
wellKnownCACertificates: System
|
|
hostname: git.unkin.net
|