Add routing for second pihole instance

This commit is contained in:
Joey Hafner 2022-11-09 13:54:19 -08:00
parent 51333018ec
commit 79383417b6

View File

@ -9,10 +9,23 @@ http:
service: "pihole@file"
tls:
certResolver: "lets-encrypt"
pihole2:
rule: "Host(`pihole2.jafner.net`)"
entryPoints: "websecure"
middlewares:
- "lan-only@file"
- "pihole@file"
service: "pihole2@file"
tls:
certResolver: "lets-encrypt"
services:
pihole:
loadBalancer:
servers:
- url: "http://192.168.1.22/"
pihole2:
loadBalancer:
servers:
- url: "http://192.168.1.21/"