How install Varnish Cache and Pi-hole?

I saw the lighttpd config file and it is customized for the correct pi-hole?