diff --git a/server/config/traefik/config/pihole.yaml b/server/config/traefik/config/pihole.yaml index afd0e53..7248910 100644 --- a/server/config/traefik/config/pihole.yaml +++ b/server/config/traefik/config/pihole.yaml @@ -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/" - \ No newline at end of file + + pihole2: + loadBalancer: + servers: + - url: "http://192.168.1.21/" \ No newline at end of file