From 180a4bd14aec014e96b9619bb893d6d75f71f0fa Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Fri, 9 Aug 2024 16:22:19 -0700 Subject: [PATCH] Add additional router for silver-hand Per: https://community.traefik.io/t/run-traefik-behind-traefik-reverse-proxy/4044/6 --- .../config/traefik/config/silver-hand.yaml | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/homelab/fighter/config/traefik/config/silver-hand.yaml b/homelab/fighter/config/traefik/config/silver-hand.yaml index a23e309f..9d0968ba 100644 --- a/homelab/fighter/config/traefik/config/silver-hand.yaml +++ b/homelab/fighter/config/traefik/config/silver-hand.yaml @@ -3,6 +3,7 @@ tcp: silver-hand: entrypoints: - "websecure" + - "web" rule: HostSNIRegexp(`*.jafner.dev`) service: "silver-hand@file" tls: @@ -14,4 +15,22 @@ tcp: servers: - address: "192.168.1.31:443" - address: "192.168.1.32:443" - - address: "192.168.1.33:443" \ No newline at end of file + - 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" \ No newline at end of file