The original post: /r/pihole by /u/Aqueouss on 2024-12-24 16:37:13.

I’m previously was running a gaming server for my friends through my pi using caddy for reverse proxy pointing to a duckdns domain. After installing pihole I can’t seem to get it to work at all, I’m not sure what I’m missing.

Caddy file:

domain.duckdns.org {
    reverse_proxy localhost:30000
    encode zstd gzip
}

https:// {
    tls internal {
        on_demand
    }

    reverse_proxy localhost:30000
    encode zstd gzip
}

With a dns record set up pointing to the internal IP of my pi

https://preview.redd.it/jc76x3otqt8e1.png?width=967&format=png&auto=webp&s=c83b1fc23d13ad96f47bccb46d1ad01f621136f4

I’ve done a ton of searching on reddit and google and can’t seem to find out what I’m doing wrong, any help is appreciated.