I recommend setting it up with a let’s encrypt cert via tailscale, that way not only you get a proper cert for free without opening your pihole to the internet, but also you get a way to use it when you are not at home, but if you are using a raspberry pi 1 or any other pi from the SD card I recommend using Log2ram in order to preserve the SD card
Edit: forgot to add that you should install zram-tools and run
sudo dphys-swapfile unistall
on a first gen pi since the low ram can increase the tendency to swap especially with unbound and that can also kill your SD card prematurely
I recommend setting it up with a let’s encrypt cert via tailscale, that way not only you get a proper cert for free without opening your pihole to the internet, but also you get a way to use it when you are not at home, but if you are using a raspberry pi 1 or any other pi from the SD card I recommend using Log2ram in order to preserve the SD card
Edit: forgot to add that you should install zram-tools and run
sudo dphys-swapfile unistall
on a first gen pi since the low ram can increase the tendency to swap especially with unbound and that can also kill your SD card prematurely