Update Pi-hole subfolder config to support Pi-hole v6#762
Update Pi-hole subfolder config to support Pi-hole v6#762s33d1ing wants to merge 1 commit intolinuxserver:masterfrom
Conversation
|
Also fixes a subdomain behind reverse proxy #751 |
Roxedus
left a comment
There was a problem hiding this comment.
I think its worthwhile to still keep /admin. ie with location ~ /(api|admin)
|
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. |
agree, i have been using the conf (sans /api) since v6 came out without issue (though i dont directly use the api) removing /admin is a hard no from me, having both is acceptable |
|
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. |
|
This pull request is locked due to inactivity |
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