Does anyone out there host pihole on a vps and to user caddy to reverse proxy from lighttpd to get the admin panel with https?
I slightly changed the config provided in the guide provided above. It reverse proxies it out to pihole.domain.xx
If so, did anyone figure out any bugs? It seems like if a domain is on a blocklist, the page where you could whitelist it doesn't load up. Instead I get a problem with the certificates provided by caddy (letsencrypt).
Caddy binds to port 80, 443 and reverse proxies internally 1080 (the port is closed in ufw, so that you can't visit domain.xx/admin).
Redirect to admin page where you could whitelist a website with password.
Gets me 404 Error obviously from caddy; as it means this site isnt served on this server.
Wrong certificate error, wich shows mine provided by caddy using lets encrypt.