add reverse proxy for pihole

This commit is contained in:
Adithya 2024-01-04 21:51:24 +05:30
parent f332ddf5dd
commit 1e8056a406
Signed by: adtya
GPG key ID: 48FC9915FFD326D0

View file

@ -1,4 +1,9 @@
_: { _: {
services.caddy.virtualHosts."http://pihole.local.adtya.xyz" = {
extraConfig = ''
reverse_proxy 127.0.0.1:3000
'';
};
virtualisation.oci-containers.containers = { virtualisation.oci-containers.containers = {
pihole = { pihole = {
image = "pihole/pihole:latest"; image = "pihole/pihole:latest";