mescon / Muximux

A lightweight way to manage your HTPC
GNU General Public License v2.0
1.14k stars 82 forks source link

Unable to display Pi-hole admin #101

Closed suryjuto closed 7 years ago

suryjuto commented 7 years ago

Just setup Pi-hole running on an Ubuntu container. Nothing displays when adding to my Muximux panel.

mescon commented 7 years ago

I'm gonna close this issue because you are not telling us anything that would help debug the issue.

Maybe this is of some value to you - I don't know: https://github.com/mescon/Muximux/issues/74

mmolitor87 commented 7 years ago

This is due to X-Frame Headers that prevent it from being included in a frame. For Chrome I use the addon 'Ignore X-Frame Headers' and it works great.

rpluto commented 3 years ago

About this issue, i comment this code

$HTTP["url"] =~ "^/admin/" {
    # Create a response header for debugging using curl -I
#    setenv.add-response-header = (
#        "X-Pi-hole" => "The Pi-hole Web interface is working!",
#        "X-Frame-Options" => "DENY"
#    )

    $HTTP["url"] =~ "\.(eot|otf|tt[cf]|woff2?)$" {
        # Allow Block Page access to local fonts
        setenv.add-response-header = ( "Access-Control-Allow-Origin" => "*" )
    }
}

under lighttpd.conf.debian https://github.com/pi-hole/pi-hole/blob/master/advanced/lighttpd.conf.debian

and mount somewhere to your configuration under pihole docker

... volumes:

....

because its copy on every reboot.