pi-hole-droid icon indicating copy to clipboard operation
pi-hole-droid copied to clipboard

pi-hole droid won't connect from external through apache reverse proxy

Open JZXPacky opened this issue 6 years ago • 3 comments

Hi,

I've got Pi-Hole up and running at home and installed the android app here to connect to my setup. I've entered the api key but am not getting any connection, just a constant spinning arrow in each box.

I'm running through an apache reverse proxy and can access externally through the web interface (www.domain.com/pihole) but the app never pulls any information. I have also tried on the internal network with the default path, bypassing the reverse proxy, but no luck either.

Not sure if it has any relevance but my Pi-Hole installation never generates a QR code for the API, I had to manually get it from the setupVars.conf file.

Cheers, Luke.

JZXPacky avatar Sep 07 '17 05:09 JZXPacky

Has this project been abandoned now?

JZXPacky avatar Sep 17 '17 06:09 JZXPacky

Sorry for the delay. Unfortunately the block in the playstore was a tough hit, https://discourse.pi-hole.net/t/pi-hole-eupl-license-question/2915/9

I was thinking of releasing apk via fdroid but there's no news since 6 months ago https://gitlab.com/fdroid/rfp/issues/48 because the app is developed with Cordova framework and F-droid is still unable to package it.

I'm sorry but I have suspended the development until I have at least one of these two channels available.

friimaind avatar Sep 17 '17 08:09 friimaind

@JZXPacky: Pi-Hole has a hardcoded /admin/ path. So you can't change it by proxy. I used my own domain (pihole.domain.tld) and used the following proxy configuration with the docker image:

<Location />
  Require all granted
  ProxyPass http://localhost:port/
  ProxyPassReverse http://localhost:port/
</Location>

That works for me.

micressor avatar Feb 20 '19 11:02 micressor