Fix regexps for router rules

This commit is contained in:
Joey Hafner 2024-08-09 16:27:25 -07:00
parent 180a4bd14a
commit 34fdb75fb7
No known key found for this signature in database

View File

@ -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: