Add routing for second pihole instance
This commit is contained in:
parent
51333018ec
commit
79383417b6
@ -9,10 +9,23 @@ http:
|
|||||||
service: "pihole@file"
|
service: "pihole@file"
|
||||||
tls:
|
tls:
|
||||||
certResolver: "lets-encrypt"
|
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:
|
services:
|
||||||
pihole:
|
pihole:
|
||||||
loadBalancer:
|
loadBalancer:
|
||||||
servers:
|
servers:
|
||||||
- url: "http://192.168.1.22/"
|
- url: "http://192.168.1.22/"
|
||||||
|
|
||||||
|
pihole2:
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
- url: "http://192.168.1.21/"
|
Loading…
Reference in New Issue
Block a user