-
-
Notifications
You must be signed in to change notification settings - Fork 333
Update PiHole V6 /api
subdomain
#751
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
base: master
Are you sure you want to change the base?
Conversation
Confirmed that this solution solved the same issue I was facing after upgrading Pi-hole. Thanks! |
Worked for me :) I was not able to login on pihole via swag/nginx since I upgraded to v6. Uncommenting the lines on this PR fixed my issue |
73b17d9
to
095ca4c
Compare
This pull request has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale, just waiting for a CR. |
This pull request has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
Not stale. |
Im leaning towards merging #762 in favor of this, as it is more complete with information for the required setup for v6, as well as considering subfolder |
This pull request has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
Description
Updating to PiHole v6 using a subdomain, caused 500 errors when trying to load the queries page, or make API calls.
Benefits of this PR and context
This change allows for PiHole v6+ to continue to work behind a subdomain reverse proxy.
How Has This Been Tested?
With the current setup, when accessing

/admin/queries
or theQuery Log
tab on the right, you would get a pop up showing an error.With this new
/api
block, theQuery Log
loads as expected.Source / References
PiHole v6 Release Notes