Skip to content

Update Pi-hole subfolder config to support Pi-hole v6 #762

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

s33d1ing
Copy link

@s33d1ing s33d1ing commented Apr 29, 2025

linuxserver.io


  • I have read the contributing guideline and understand that I have made the correct modifications

Description

Add support for Pi-hole V6 by removing /admin and adding /api.
Pi-hole V6 does not honor X-Forwarded-For but allows for setting a base URL.

Benefits of this PR and context

Allows Pi-hole V6 to be configured behind a reverse proxy using a subfolder.

How Has This Been Tested?

Tested on a Raspberry Pi 5 running Pi-hole V6 and linuxserver SWAG behind Organizer authentication.

Source / References

pi-hole/FTL#2298
https://discourse.pi-hole.net/t/cant-get-v6-webinterface-behind-nginx-reverse-proxy-to-work/76231/16

@s33d1ing
Copy link
Author

Also fixes a subdomain behind reverse proxy #751

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

1 participant