-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webserver RootPATH #1784
Comments
Pi-hole's webserver is embedded (per https://pi-hole.net/blog/2025/02/18/introducing-pi-hole-v6/) If paths are conflicting, perhaps run it on a different port. (see /etc/pihole/pihole.toml -> webserver.ports) However, as you've posted this in the docker repo - I'm even more confused. What does your setup look like? (We have a template for issues for a very good reason, you know 😉 ) |
Changing the web server ports also makes no sense, since pihole runs behind an extensively configured reverse proxy and no other port may be opened to the outside |
What does your docker compose look like? |
|
Right, OK - so presumably host networking here and you're mapping 8090 outside the container to 80 inside it. Can you try setting the web interface port to listen on port 8090 inside the container with env var:
And then changing your |
Note that there is a PR currently under review allowing prefacing. Would that work for your setup? You could then host Pi-hole under, e.g., www.example.com/pihole and both Have a look over at pi-hole/FTL#2319, the referenced issue pi-hole/FTL#2298 has an exemplary |
I have exactly the same issue in a K3s cluster with my pihole deployment's. In the prev release i could manage the web root via env var 'VIRTUAL_HOST: <your.url.&.domain>/subpath' Something like that var would be great in v6 |
After updating pihole, I was sad to discover that pihole is now running amok with its paths.
In addition to the /admin/ path, it now uses countless order paths under /api/, which is quite inconvenient if other applications are running on the web server in the /api path.
Please create an adjustable path pointer.
A subdomain for pihole as an alternative would be pointless.
The text was updated successfully, but these errors were encountered: