Hey all,

I’m relatively new to self hosting. I set up a SearxNG on my local network and then recently set up Pi-Hole. Searx is running in a docker container and Pi-Hole is not. However, after setting up Pi-hole the IP I use to connect to Searx now directs to the default the default placeholder page. So my Pi-hole runs on 192.168.0.19/admin and Searx used to run just on 192.168.0.19. I’m guessing there’s a config somewhere that I can change to make both work at once I’m just not sure where. Google was less than helpful (or maybe I’m an idiot lol) so I was hoping someone here may have run into a similar issue.

@cestvrai@lemm.ee
link
fedilink
English
61Y

You need a reverse proxy to accomplish this. The reverse proxy will have port 80 exposed and points PiHole/Searx containers and their respective ports for the paths you specify.

@Grenfur@lemmy.one
creator
link
fedilink
English
31Y

Ignore my ignorance here. You’re talking about something like Nginx?

@cestvrai@lemm.ee
link
fedilink
English
5
edit-2
1Y

Yes, nginx and caddy are popular reverse proxies.

Without one you can only host applications on different ports, not combined on one port like you want.

@Grenfur@lemmy.one
creator
link
fedilink
English
21Y

Got it, thank you kindly :)

Create a post

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!

  • 1 user online
  • 164 users / day
  • 448 users / week
  • 1.17K users / month
  • 3.85K users / 6 months
  • 1 subscriber
  • 3.69K Posts
  • 74.3K Comments
  • Modlog