$HTTP["url"] =~ "^/admin/" { # Allow using Pi-Hole admin in iframes (eg, for Home Assistant) setenv.set-response-header += ( "X-Frame-Options" => "Allow" ) }