Hello. With my very basic unix skills i'm trying to display Pi-hole via an iFrame in Home Assistant. When i add code to do this and click the tab in Home Assistant (HA), i get "[ERROR]: Unable to parse results from queryads.php: Unhandled error message ()" shown in HA.
What i understood is that the code that prevents using iFrame is ""X-Frame-Options" => "DENY"" in /etc/lighttpd/lighttpd.conf (https://www.reddit.com/r/pihole/comments/6ock0s/cant_get_the_pihole_dashboard_to_display_in_an/).
Since that file gets overwitten when pi-hole is updated (?), i read i should put some code in external.conf. I've now created that file with the following code
setenv.add-response-header = (
"X-Pi-hole" => "The Pi-hole Web interface is working!",
"X-Frame-Options" => "ALLOW"
But still get the error.