#47 Move Pihole from server to Pi on .22
This commit is contained in:
parent
368d2f6165
commit
785077dc57
21
server/config/traefik/config/pihole.yaml
Normal file
21
server/config/traefik/config/pihole.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
http:
|
||||
routers:
|
||||
pihole:
|
||||
rule: "Host(`pihole.jafner.net`)"
|
||||
entryPoints: "websecure"
|
||||
middlewares: "lan-only@file,pihole@file"
|
||||
service: "pihole@file"
|
||||
tls:
|
||||
certResolver: "lets-encrypt"
|
||||
|
||||
middlewares:
|
||||
pihole:
|
||||
addprefix:
|
||||
prefix: "/admin"
|
||||
|
||||
services:
|
||||
pihole:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://192.168.1.22/"
|
||||
|
Loading…
Reference in New Issue
Block a user