Add additional router for silver-hand

Per: https://community.traefik.io/t/run-traefik-behind-traefik-reverse-proxy/4044/6
This commit is contained in:
Joey Hafner 2024-08-09 16:22:19 -07:00
parent e45dfd64e8
commit 180a4bd14a
No known key found for this signature in database

View File

@ -3,6 +3,7 @@ tcp:
silver-hand: silver-hand:
entrypoints: entrypoints:
- "websecure" - "websecure"
- "web"
rule: HostSNIRegexp(`*.jafner.dev`) rule: HostSNIRegexp(`*.jafner.dev`)
service: "silver-hand@file" service: "silver-hand@file"
tls: tls:
@ -14,4 +15,22 @@ tcp:
servers: servers:
- address: "192.168.1.31:443" - address: "192.168.1.31:443"
- address: "192.168.1.32:443" - address: "192.168.1.32:443"
- address: "192.168.1.33:443" - address: "192.168.1.33:443"
http:
routers:
silver-hand:
entrypoints:
- "websecure"
- "web"
rule: "HostRegexp(`*.jafner.dev`)"
service: "silver-hand@file"
services:
silver-hand:
loadBalancer:
passHostHeader: true
servers:
- url: "https://192.168.1.31"
- url: "https://192.168.1.32"
- url: "https://192.168.1.33"