From 34fdb75fb775cd146bd5f99d075795cf60143c9c Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Fri, 9 Aug 2024 16:27:25 -0700 Subject: [PATCH] Fix regexps for router rules --- homelab/fighter/config/traefik/config/silver-hand.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/homelab/fighter/config/traefik/config/silver-hand.yaml b/homelab/fighter/config/traefik/config/silver-hand.yaml index 9d0968ba..90e6ebbc 100644 --- a/homelab/fighter/config/traefik/config/silver-hand.yaml +++ b/homelab/fighter/config/traefik/config/silver-hand.yaml @@ -4,7 +4,7 @@ tcp: entrypoints: - "websecure" - "web" - rule: HostSNIRegexp(`*.jafner.dev`) + rule: HostSNIRegexp(`^.+\.jafner\.dev$`) service: "silver-hand@file" tls: passthrough: true @@ -23,9 +23,9 @@ http: entrypoints: - "websecure" - "web" - rule: "HostRegexp(`*.jafner.dev`)" + rule: "HostRegexp(`^.+\.jafner\.dev$`)" service: "silver-hand@file" - + services: silver-hand: loadBalancer: