36
submitted 4 days ago* (last edited 4 days ago) by Sunny@slrpnk.net to c/selfhosted@lemmy.world

Hi folks,

Just set up Nginx Proxy Manager + Pihole and a new domain with Porkbun. All is working and I have all my services service.mydomain.com, however some services such as pihole seem to be strictly reachable with /admin at the end. This means with my current setup it only directs me to pihole.mydomain.com which leads to a 403 Forbidden.

This is what I have tried, but with no prevail. Not really getting the hang of this so would really appriciate a pinpoint on this :)

you are viewing a single comment's thread
view the rest of the comments
[-] Sunny@slrpnk.net 2 points 4 days ago

Thank you for providing this, however when i now browse to pihole.mydomain.com it gives me a 404, and the URL is directed to pihole.mydomain.com/admin:8118. E.g. the port is somehow ending up at the end of the url haha.

[-] sk@hub.utsukta.org 3 points 4 days ago

@Sunny' 🌻 that must not happen, did you remove the custom location from before? The above is working with my pihole setup

[-] Sunny@slrpnk.net 3 points 4 days ago

Ahhh i got it working now! Thanks a bunch for the help, been trying to get this to work for hours now hehe

[-] K3can@lemmy.radio 1 points 2 days ago

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.

load more comments (3 replies)
load more comments (3 replies)
load more comments (3 replies)
this post was submitted on 29 Sep 2024
36 points (95.0% liked)

Selfhosted

39446 readers
527 users here now

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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS