view the rest of the comments
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
Thank you for providing this, however when i now browse to
pihole.mydomain.com
it gives me a 404, and the URL is directed topihole.mydomain.com/admin:8118
. E.g. the port is somehow ending up at the end of the url haha.@Sunny' 🌻 that must not happen, did you remove the custom location from before? The above is working with my pihole setup
Ahhh i got it working now! Thanks a bunch for the help, been trying to get this to work for hours now hehe
If you're going to be playing with custom locations and such, it might be worth using nginx directly instead of through the limitations of NPM.
Just tried this myself and mine does the same thing but I don't have anything set in the custom locations tab. What did you do to resolve it?
Remove any custom locations (if u have tried to add any), and then simply copy paste this into the advanced tab. Dont forget to change the <IP+PORT>
Let me know how it goes :)
Yeah that's exactly what I'd done but it was insisting on trying to redirect me to the site on port 4443 for some reason.
Fixed it in the end by reverting the NPM config to default (no advanced settings) and instead using Pihole's
VIRTUAL_HOST=pihole.mydomain.internal
environment variable in the Docker compose file.Cheers for your help anyway!