Start the official installer, and select No when asked if you want to install lighttpd
and php modules.
If you haven’t done so already, install caddy
:
Now install php, php-fpm and some modules:
Give the webserver user permission for group pihole
:
Finally change caddys config to serve the webinterface: