Configure fighter traefik instance to pass through requests for *.jafner.dev to the k3s cluster

This commit is contained in:
Joey Hafner 2024-08-09 15:55:24 -07:00
parent 557be69e3f
commit e1f79bcaa8
No known key found for this signature in database
2 changed files with 3 additions and 13 deletions

View File

@ -1,7 +1,9 @@
tcp: tcp:
routers: routers:
silver-hand: silver-hand:
rule: "HostSNI(`k3s.jafner.net`) || HostSNIRegexp(`*.k3s.jafner.net`)" entrypoints:
- "websecure"
rule: HostSNIRegexp(`*.jafner.dev`)
service: "silver-hand@file" service: "silver-hand@file"
tls: tls:
passthrough: true passthrough: true

View File

@ -1,12 +0,0 @@
tcp:
routers:
warlock:
rule: "HostSNIRegexp(`jafner.chat`,`*.jafner.chat`)"
service: warlock
tls:
passthrough: true
services:
warlock:
loadBalancer:
servers:
- address: "192.168.1.24:443"