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.
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.
Ignore my ignorance here. You’re talking about something like Nginx?
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.
Tge easiest way is probably to change the port of the Pihole config page
The issue is that pihole has a default on port 80 that can be set up to redirect to /admin. If your running searx on the same ports on the same IP something’s gonna break.
You’ll need to change one if the applications port number and specify the port in your URL (192.160.0.19:8080) to get there.
A reverse proxy will help only after you set your ports correctly.
EDIT: This explains why your apps aren’t working https://www.youtube.com/watch?v=g2fT-g9PX9o
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:
Fewer Letters More Letters DNS Domain Name Service/System HTTP Hypertext Transfer Protocol, the Web IP Internet Protocol PiHole Network-wide ad-blocker (DNS sinkhole) SSL Secure Sockets Layer, for transparent encryption nginx Popular HTTP server
[Thread #182 for this sub, first seen 2nd Oct 2023, 21:05] [FAQ] [Full list] [Contact] [Source code]